/external/chromium_org/content/common/sandbox_linux/ |
sandbox_linux.cc | 50 command_line.GetSwitchValueASCII(switches::kProcessType); 179 SandboxSeccompBPF::ShouldEnableSeccompBPF(switches::kRendererProcess)) { 241 switches::kProcessType); 266 if (process_type != switches::kGpuProcess) 303 if (command_line->HasSwitch(switches::kNoSandbox)) { 320 if (process_type == switches::kRendererProcess || 321 process_type == switches::kWorkerProcess || 322 process_type == switches::kGpuProcess) { 354 if (process_type == switches::kRendererProcess || 355 process_type == switches::kWorkerProcess | [all...] |
/external/chromium_org/chrome/installer/util/ |
chrome_frame_operations.cc | 46 { switches::kMultiInstall, kOptionMultiInstall } 78 if (is_multi_install && !cmd_line->HasSwitch(switches::kMultiInstall)) 79 cmd_line->AppendSwitch(switches::kMultiInstall); 82 cmd_line->AppendSwitch(switches::kChromeFrame); 91 if (is_multi_install && !cmd_line->HasSwitch(switches::kMultiInstall)) 92 cmd_line->AppendSwitch(switches::kMultiInstall); 96 cmd_line->AppendSwitch(switches::kChromeFrame);
|
chrome_browser_operations.cc | 40 if (uninstall_command.HasSwitch(switches::kMultiInstall)) 63 if (!cmd_line->HasSwitch(switches::kMultiInstall)) 64 cmd_line->AppendSwitch(switches::kMultiInstall); 67 cmd_line->AppendSwitch(switches::kChrome); 78 !cmd_line->HasSwitch(switches::kMultiInstall)) { 79 cmd_line->AppendSwitch(switches::kMultiInstall);
|
/external/chromium_org/chrome/browser/service_process/ |
service_process_control.cc | 134 cmd_line->AppendSwitchASCII(switches::kProcessType, 135 switches::kServiceProcess); 138 switches::kCloudPrintServiceURL, 139 switches::kCloudPrintSetupProxy, 140 switches::kEnableLogging, 141 switches::kIgnoreUrlFetcherCertRequests, 142 switches::kLang, 143 switches::kLoggingLevel, 144 switches::kLsoUrl, 145 switches::kNoServiceAutorun [all...] |
/external/chromium_org/content/browser/ |
ppapi_plugin_process_host.cc | 264 browser_command_line.GetSwitchValueNative(switches::kPpapiPluginLauncher); 279 cmd_line->AppendSwitchASCII(switches::kProcessType, 280 is_broker_ ? switches::kPpapiBrokerProcess 281 : switches::kPpapiPluginProcess); 282 cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id); 284 // These switches are forwarded to both plugin and broker pocesses. 286 switches::kVModule 293 switches::kDisableSeccompFilterSandbox, 295 switches::kEnableSandboxLogging, 297 switches::kNoSandbox [all...] |
browser_main_runner.cc | 52 if (parameters.command_line.HasSwitch(switches::kWaitForDebugger)) 58 switches::kEnableTextServicesFramework)) { 142 if (command_line.HasSwitch(switches::kTraceShutdown))
|
/external/chromium/chrome/common/ |
sandbox_policy.cc | 450 GetSwitchValueNative(switches::kPluginPath); 471 GetSwitchValueNative(switches::kPluginPath); 473 GetSwitchValueNative(switches::kTrustedPlugins); 549 switches::kDisableAltWinstation); 579 std::string type_str = cmd_line->GetSwitchValueASCII(switches::kProcessType); 580 if (type_str == switches::kRendererProcess) { 582 } else if (type_str == switches::kExtensionProcess) { 585 } else if (type_str == switches::kPluginProcess) { 587 } else if (type_str == switches::kWorkerProcess) { 589 } else if (type_str == switches::kNaClLoaderProcess) [all...] |
logging_chrome.cc | 134 const char *kInvertLoggingSwitch = switches::kEnableLogging; 139 const char *kInvertLoggingSwitch = switches::kDisableLogging; 151 if (command_line.GetSwitchValueASCII(switches::kEnableLogging) == "stderr") 225 command_line.GetSwitchValuePath(switches::kLoginProfile); 246 command_line.HasSwitch(switches::kEnableDCHECK) ? 282 if (command_line.HasSwitch(switches::kGuestSession)) 298 command_line.HasSwitch(switches::kEnableDCHECK) ? 325 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoErrorDialogs)) 340 command_line.HasSwitch(switches::kNoErrorDialogs)) 345 if (command_line.HasSwitch(switches::kLoggingLevel)) [all...] |
/external/chromium/chrome/browser/sync/ |
profile_sync_factory_impl.cc | 92 if (!command_line_->HasSwitch(switches::kDisableSyncApps)) { 99 if (!command_line_->HasSwitch(switches::kDisableSyncAutofill)) { 106 if (!command_line_->HasSwitch(switches::kDisableSyncBookmarks)) { 113 if (!command_line_->HasSwitch(switches::kDisableSyncExtensions)) { 120 if (!command_line_->HasSwitch(switches::kDisableSyncPasswords)) { 127 if (!command_line_->HasSwitch(switches::kDisableSyncPreferences)) { 133 if (!command_line_->HasSwitch(switches::kDisableSyncThemes)) { 140 if (command_line_->HasSwitch(switches::kEnableSyncTypedUrls)) { 147 if (command_line_->HasSwitch(switches::kEnableSyncSessions)) { 152 if (!command_line_->HasSwitch(switches::kDisableSyncAutofillProfile)) [all...] |
/external/chromium_org/chrome/test/perf/ |
memory_test.cc | 57 launch_arguments_.AppendSwitch(switches::kDisablePlugins); 59 launch_arguments_.AppendSwitch(switches::kEnableLogging); 66 launch_arguments_.AppendSwitchASCII(switches::kForceGpuMemAvailableMb, 78 launch_arguments_.AppendSwitch(switches::kPlaybackMode); 79 launch_arguments_.AppendSwitch(switches::kNoEvents); 80 launch_arguments_.AppendSwitch(switches::kDisableGpuShaderDiskCache); 85 switches::kUserDataDir); 98 launch_arguments_.AppendSwitch(switches::kRecordMode); 99 launch_arguments_.AppendSwitch(switches::kNoEvents); 104 launch_arguments_.AppendSwitchPath(switches::kUserDataDir, user_data_dir_) [all...] |
/external/chromium_org/chrome/test/chromedriver/ |
chrome_launcher.cc | 96 Switches switches; local 101 switches.SetSwitch(kCommonSwitches[i]); 102 switches.SetSwitch("disable-hang-monitor"); 103 switches.SetSwitch("disable-prompt-on-repost"); 104 switches.SetSwitch("full-memory-crash-report"); 105 switches.SetSwitch("no-first-run"); 106 switches.SetSwitch("disable-background-networking"); 107 switches.SetSwitch("disable-web-resources"); 108 switches.SetSwitch("safebrowsing-disable-auto-update") [all...] |
/external/chromium_org/chrome/installer/test/ |
alternate_version_generator_main.cc | 25 namespace switches { namespace in namespace:__anon9480 33 } // namespace switches 99 base::FilePath result = cmd_line.GetSwitchValuePath(switches::kMiniInstaller); 111 base::FilePath result = cmd_line.GetSwitchValuePath(switches::kOut); 120 return cmd_line.HasSwitch(switches::kPrevious) ? 132 if (cmd_line->HasSwitch(switches::kHelp)) { 151 if (!cmd_line->HasSwitch(switches::kForce) && base::PathExists(out)) {
|
/external/chromium_org/content/shell/browser/ |
shell_browser_context.cc | 81 if (cmd_line->HasSwitch(switches::kIgnoreCertificateErrors) || 82 cmd_line->HasSwitch(switches::kDumpRenderTree)) { 85 if (cmd_line->HasSwitch(switches::kContentShellDataPath)) { 86 path_ = cmd_line->GetSwitchValuePath(switches::kContentShellDataPath); 128 if (cmd_line->HasSwitch(switches::kDumpRenderTree)) { 187 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) {
|
/external/chromium_org/content/browser/renderer_host/ |
render_view_host_impl.cc | 25 #include "cc/base/switches.h" 354 !command_line.HasSwitch(switches::kDisableJavaScript); 356 !command_line.HasSwitch(switches::kDisableWebSecurity); 358 !command_line.HasSwitch(switches::kDisablePlugins); 360 !command_line.HasSwitch(switches::kDisableJava); 363 !command_line.HasSwitch(switches::kDisableRemoteFonts); 365 !command_line.HasSwitch(switches::kDisableXSLT); 367 !command_line.HasSwitch(switches::kDisableXSSAuditor); 369 !command_line.HasSwitch(switches::kDisableApplicationCache); 372 !command_line.HasSwitch(switches::kDisableLocalStorage) [all...] |
/external/chromium_org/chrome/browser/ |
upgrade_detector_impl.cc | 60 return cmd_line.GetSwitchValueASCII(switches::kCheckForUpdateIntervalSec); 65 return cmd_line.HasSwitch(switches::kSimulateUpgrade) || 66 cmd_line.HasSwitch(switches::kCheckForUpdateIntervalSec) || 67 cmd_line.HasSwitch(switches::kSimulateCriticalUpdate) || 68 cmd_line.HasSwitch(switches::kSimulateOutdated); 135 // The different command line switches that affect testing can't be used 140 // - kSimulateUpgrade supersedes critical or outdated upgrade switches. 143 if (command_line.HasSwitch(switches::kDisableBackgroundNetworking)) 145 if (command_line.HasSwitch(switches::kSimulateUpgrade)) { 149 if (command_line.HasSwitch(switches::kSimulateCriticalUpdate)) [all...] |
chrome_content_browser_client.cc | 134 #include "extensions/common/switches.h" 505 if (command_line.HasSwitch(switches::kExtensionProcess)) { 513 command_line.GetSwitchValueASCII(switches::kProcessType); 515 if (process_type == switches::kRendererProcess) { 522 if (process_type == switches::kPluginProcess) { 529 if (process_type == switches::kPpapiPluginProcess) { 536 if (process_type == switches::kGpuProcess) { 834 switches::kEnableBrowserPluginForAllViewTypes)) { [all...] |
/external/chromium_org/chrome/common/ |
chrome_content_client_unittest.cc | 74 ASSERT_FALSE(command_line->HasSwitch(switches::kUseMobileUserAgent)); 78 command_line->AppendSwitch(switches::kUseMobileUserAgent); 79 ASSERT_TRUE(command_line->HasSwitch(switches::kUseMobileUserAgent));
|
/external/chromium_org/content/app/android/ |
library_loader_hooks.cc | 91 if (command_line->HasSwitch(switches::kTraceStartup)) { 93 command_line->GetSwitchValueASCII(switches::kTraceStartup)); 107 command_line->HasSwitch(switches::kEnableDCHECK) ?
|
/external/chromium_org/content/browser/aura/ |
browser_compositor_output_surface.cc | 56 if (command_line->HasSwitch(switches::kUIMaxFramesPending)) { 58 switches::kUIMaxFramesPending); 63 LOG(ERROR) << "Trouble parsing --" << switches::kUIMaxFramesPending;
|
/external/chromium_org/content/common/gpu/media/ |
h264_parser_unittest.cc | 79 const CommandLine::SwitchMap& switches = local 81 for (CommandLine::SwitchMap::const_iterator it = switches.begin(); 82 it != switches.end(); ++it) {
|
/external/chromium_org/content/shell/android/browsertests_apk/ |
content_browser_tests_android.cc | 77 // Append required switches. 79 command_line->AppendSwitch(switches::kUseFakeDeviceForMediaStream); 80 command_line->AppendSwitch(switches::kUseFakeUIForMediaStream); 83 command_line->AppendSwitchASCII(switches::kRemoteDebuggingSocketName,
|
/external/chromium_org/content/test/ |
content_test_launcher.cc | 116 command_line->AppendSwitchPath(switches::kContentShellDataPath, 118 command_line->AppendSwitch(switches::kUseFakeDeviceForMediaStream); 119 command_line->AppendSwitch(switches::kUseFakeUIForMediaStream);
|
/external/chromium_org/tools/ipc_fuzzer/replay/ |
replay_process.cc | 35 switches::kIpcFuzzerTestcase)) { 57 switches::kProcessChannelID); 68 switches::kIpcFuzzerTestcase);
|
/external/chromium/chrome/browser/ |
browser_shutdown.cc | 211 std::map<std::string, CommandLine::StringType> switches = local 213 // Remove the switches that shouldn't persist across restart. 214 about_flags::RemoveFlagsSwitches(&switches); 215 switches::RemoveSwitchesForAutostart(&switches); 216 // Append the old switches to the new command line. 218 switches.begin(); i != switches.end(); ++i) { 226 if (!new_cl->HasSwitch(switches::kRestoreLastSession)) 227 new_cl->AppendSwitch(switches::kRestoreLastSession) [all...] |
/external/chromium/chrome/browser/chromeos/frame/ |
browser_frame_chromeos.cc | 41 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kChromeosFrame))
|