/external/chromium_org/chrome/browser/extensions/ |
webstore_startup_installer_browsertest.cc | 60 switches::kAppsGalleryURL, test_gallery_url_); 64 switches::kAppsGalleryUpdateURL, crx_url.spec()); 68 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc"); 124 switches::kAppsGalleryInstallAutoConfirmForTests, "accept"); 139 switches::kAppsGalleryInstallAutoConfirmForTests, "cancel"); 159 switches::kAppsGalleryInstallAutoConfirmForTests, "cancel"); 176 switches::kAppsGalleryInstallAutoConfirmForTests, "cancel"); 186 switches::kAppsGalleryInstallAutoConfirmForTests, "cancel"); 206 switches::kAppsGalleryInstallAutoConfirmForTests, "accept"); 242 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests) [all...] |
startup_helper.cc | 59 if (!cmd_line.HasSwitch(switches::kPackExtension)) 64 cmd_line.GetSwitchValuePath(switches::kPackExtension); 66 if (cmd_line.HasSwitch(switches::kPackExtensionKey)) { 67 private_key_path = cmd_line.GetSwitchValuePath(switches::kPackExtensionKey); 172 base::FilePath path = cmd_line.GetSwitchValuePath(switches::kValidateCrx); 175 switches::kValidateCrx); 202 if (!cmd_line.HasSwitch(switches::kUninstallExtension)) 210 switches::kUninstallExtension); 288 std::string id = cmd_line.GetSwitchValueASCII(switches::kInstallFromWebstore); 290 LOG(ERROR) << "Invalid id for " << switches::kInstallFromWebstor [all...] |
/external/chromium_org/content/browser/ |
plugin_process_host.cc | 160 browser_command_line.GetSwitchValueNative(switches::kPluginLauncher); 181 cmd_line->AppendSwitchASCII(switches::kProcessType, switches::kPluginProcess); 182 cmd_line->AppendSwitchPath(switches::kPluginPath, info.path); 184 // Propagate the following switches to the plugin command line (along with 187 switches::kDisableBreakpad, 189 switches::kDisableCoreAnimationPlugins, 190 switches::kEnableSandboxLogging, 192 switches::kEnableStatsTable, 193 switches::kFullMemoryCrashReport [all...] |
utility_process_host_impl.cc | 213 switches::kUtilityCmdPrefix); 218 // |switches::kUtilityCmdPrefix|. See ChildProcessHost::GetChildPath() for 231 cmd_line->AppendSwitchASCII(switches::kProcessType, 232 switches::kUtilityProcess); 233 cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id); 235 cmd_line->AppendSwitchASCII(switches::kLang, locale); 237 if (no_sandbox_ || browser_command_line.HasSwitch(switches::kNoSandbox)) 238 cmd_line->AppendSwitch(switches::kNoSandbox); 240 if (browser_command_line.HasSwitch(switches::kEnableSandboxLogging)) 241 cmd_line->AppendSwitch(switches::kEnableSandboxLogging) [all...] |
/external/chromium_org/chrome/browser/ |
chrome_browser_main.cc | 204 if (command_line.HasSwitch(switches::kBrowserAssertTest)) { 209 if (command_line.HasSwitch(switches::kBrowserCrashTest)) { 267 parsed_command_line.HasSwitch(switches::kParentProfile)) { 269 parsed_command_line.GetSwitchValuePath(switches::kParentProfile); 287 if (parsed_command_line.HasSwitch(chromeos::switches::kLoginManager)) { 305 if (command_line.HasSwitch(switches::kProfileDirectory)) { 307 command_line.GetSwitchValuePath(switches::kProfileDirectory)); 312 if (command_line.HasSwitch(switches::kShowAppList)) 327 parsed_command_line.HasSwitch(switches::kProfileDirectory)) { 329 parsed_command_line.GetSwitchValueASCII(switches::kProfileDirectory)) [all...] |
/external/chromium_org/cloud_print/service/win/ |
chrome_launcher.cc | 96 switches::kCloudPrintServiceURL)); 170 if (cmd.GetSwitchValueASCII(switches::kProcessType) == 171 switches::kServiceProcess && 172 cmd.HasSwitch(switches::kUserDataDir)) { 174 cmd.GetSwitchValuePath(switches::kUserDataDir)); 224 // Required switches. 225 cmd.AppendSwitchASCII(switches::kProcessType, switches::kServiceProcess); 226 cmd.AppendSwitchPath(switches::kUserDataDir, user_data_); 227 cmd.AppendSwitch(switches::kNoServiceAutorun) [all...] |
/external/chromium_org/content/app/ |
content_main_runner.cc | 236 if (command_line.HasSwitch(switches::kProcessChannelID)) { 239 command_line.GetSwitchValueASCII(switches::kProcessChannelID); 273 if (command_line.HasSwitch(switches::kEnableStatsTable)) { 298 if (process_type == switches::kPluginProcess || 299 process_type == switches::kPpapiPluginProcess) { 305 } else if (process_type == switches::kRendererProcess || 307 switches::kSingleProcess)) { 314 if (process_type == switches::kUtilityProcess || 316 switches::kSingleProcess)) { 342 { switches::kRendererProcess, RendererMain } [all...] |
/external/chromium_org/content/gpu/ |
gpu_main.cc | 92 if (command_line.HasSwitch(switches::kGpuStartupDialog)) { 98 bool in_browser_process = command_line.HasSwitch(switches::kSingleProcess) || 99 command_line.HasSwitch(switches::kInProcessGPU); 116 if (command_line.HasSwitch(switches::kSupportsDualGpus) && 117 command_line.HasSwitch(switches::kGpuSwitching)) { 119 switches::kGpuSwitching); 120 if (option == switches::kGpuSwitchingOptionNameForceDiscrete) 122 else if (option == switches::kGpuSwitchingOptionNameForceIntegrated) 142 if (command_line.HasSwitch(switches::kUseGL) && 143 command_line.GetSwitchValueASCII(switches::kUseGL) = [all...] |
/external/chromium/chrome/browser/ |
browser_main.cc | 223 if (parsed_command_line().HasSwitch(switches::kEnableBenchmarking)) 228 if (parsed_command_line().HasSwitch(switches::kEnableDNSSECCerts)) 230 if (parsed_command_line().HasSwitch(switches::kDisableSSLFalseStart)) 233 // if (parsed_command_line().HasSwitch(switches::kEnableSnapStart)) 236 switches::kEnableDNSCertProvenanceChecking)) { 240 if (parsed_command_line().HasSwitch(switches::kEnableTcpFastOpen)) 394 if (parsed_command_line().HasSwitch(switches::kUseSpdy)) { 396 parsed_command_line().GetSwitchValueASCII(switches::kUseSpdy); 449 if (parsed_command_line().HasSwitch(switches::kMaxSpdyConcurrentStreams)) { 452 switches::kMaxSpdyConcurrentStreams) [all...] |
shell_integration.cc | 34 FilePath user_data_dir = cmd_line.GetSwitchValuePath(switches::kUserDataDir); 39 new_cmd_line.AppendSwitchPath(switches::kUserDataDir, user_data_dir); 44 FilePath profile = cmd_line.GetSwitchValuePath(switches::kLoginProfile); 46 new_cmd_line.AppendSwitchPath(switches::kLoginProfile, profile); 53 new_cmd_line.AppendSwitchASCII(switches::kAppId, extension_app_id); 58 new_cmd_line.AppendSwitchASCII(switches::kApp, url.spec());
|
about_flags.cc | 83 SINGLE_VALUE_TYPE(switches::kEnableExposeForTabs) 93 SINGLE_VALUE_TYPE(switches::kEnableVerticalTabs) 100 SINGLE_VALUE_TYPE(switches::kEnableRemoting) 107 SINGLE_VALUE_TYPE(switches::kConflictingModulesCheck) 123 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintProxy) 130 SINGLE_VALUE_TYPE(switches::kEnableCrxlessWebApps) 137 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders) 144 SINGLE_VALUE_TYPE(switches::kShowFPSCounter) 151 SINGLE_VALUE_TYPE(switches::kEnableAccelerated2dCanvas) 158 SINGLE_VALUE_TYPE(switches::kEnablePrintPreview [all...] |
/external/chromium_org/chrome/installer/util/ |
chrome_frame_operations.cc | 61 { switches::kChromeFrameReadyMode, kOptionReadyMode }, 62 { switches::kMultiInstall, kOptionMultiInstall } 96 if (is_multi_install && !cmd_line->HasSwitch(switches::kMultiInstall)) 97 cmd_line->AppendSwitch(switches::kMultiInstall); 100 cmd_line->AppendSwitch(switches::kChromeFrame); 104 cmd_line->AppendSwitch(switches::kChromeFrameReadyMode); 113 if (is_multi_install && !cmd_line->HasSwitch(switches::kMultiInstall)) 114 cmd_line->AppendSwitch(switches::kMultiInstall); 118 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);
|
master_preferences.cc | 127 if (cmd_line.HasSwitch(installer::switches::kInstallerData)) { 129 installer::switches::kInstallerData)); 137 // A simple map from command line switches to equivalent switches in the 138 // distribution dictionary. Currently all switches added will be set to 144 { installer::switches::kAutoLaunchChrome, 146 { installer::switches::kChromeAppHostDeprecated, 148 { installer::switches::kChromeAppLauncher, 150 { installer::switches::kChrome, 152 { installer::switches::kChromeFrame [all...] |
auto_launch_util.cc | 44 if (command_line.HasSwitch(switches::kUserDataDir)) { 45 path = command_line.GetSwitchValuePath(switches::kUserDataDir); 109 switches::kAutoLaunchAtStartup); 115 switches::kNoStartupWindow); 123 // conflicting switches). 127 if (value.find(ASCIIToUTF16(switches::kNoStartupWindow)) != 166 switches::kAutoLaunchAtStartup)); 172 switches::kNoStartupWindow)); 191 cmd_line += ASCIIToUTF16(switches::kNoStartupWindow); 195 cmd_line += ASCIIToUTF16(switches::kAutoLaunchAtStartup) [all...] |
/external/chromium_org/content/shell/renderer/ |
shell_content_renderer_client.cc | 56 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) { 79 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) 106 switches::kEnableBrowserPluginForAllViewTypes); 114 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) 128 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) 156 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) 164 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) 172 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) 193 switches::kEnableBrowserPluginForAllViewTypes)) {
|
/external/chromium_org/chrome/browser/service/ |
service_process_control.cc | 128 cmd_line->AppendSwitchASCII(switches::kProcessType, 129 switches::kServiceProcess); 132 switches::kCloudPrintServiceURL, 133 switches::kCloudPrintSetupProxy, 134 switches::kEnableLogging, 135 switches::kIgnoreUrlFetcherCertRequests, 136 switches::kLang, 137 switches::kLoggingLevel, 138 switches::kLsoUrl, 139 switches::kNoServiceAutorun [all...] |
/external/chromium_org/chrome/test/base/ |
in_process_browser_test.cc | 174 if (command_line->HasSwitch(switches::kSingleProcess)) { 217 CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) { 232 command_line->AppendSwitchASCII(switches::kTestType, kBrowserTestType); 235 if (command_line->HasSwitch(switches::kAshBrowserTests)) { 236 command_line->AppendSwitchNative(switches::kViewerLaunchViaAppId, 241 command_line->AppendSwitch(switches::kSilentLaunch); 257 command_line->AppendSwitchPath(switches::kBrowserSubprocessPath, 263 command_line->AppendSwitch(switches::kDisableZeroBrowsersOpenForTests); 272 command_line->GetSwitchValuePath(switches::kUserDataDir); 369 CommandLine::SwitchMap switches local [all...] |
/external/chromium/chrome/browser/prerender/ |
prerender_field_trial.cc | 27 if (command_line.HasSwitch(switches::kPrerender)) { 29 command_line.GetSwitchValueASCII(switches::kPrerender); 31 if (switch_value == switches::kPrerenderSwitchValueAuto) { 39 } else if (switch_value == switches::kPrerenderSwitchValueDisabled) { 42 switch_value == switches::kPrerenderSwitchValueEnabled) { 46 } else if (switch_value == switches::kPrerenderSwitchValuePrefetchOnly) {
|
/external/chromium_org/chrome/browser/metrics/ |
chrome_browser_main_extra_parts_metrics.cc | 99 command_line.HasSwitch(switches::kTouchEvents) ? 100 command_line.GetSwitchValueASCII(switches::kTouchEvents) : 101 switches::kTouchEventsAuto; 105 touch_enabled_switch == switches::kTouchEventsEnabled) { 107 } else if (touch_enabled_switch == switches::kTouchEventsAuto) { 110 } else if (touch_enabled_switch == switches::kTouchEventsDisabled) {
|
/external/chromium_org/chrome/browser/ui/ |
browser_window_state.cc | 94 bool record_mode = parsed_command_line.HasSwitch(switches::kRecordMode); 95 bool playback_mode = parsed_command_line.HasSwitch(switches::kPlaybackMode); 106 if (parsed_command_line.HasSwitch(switches::kWindowSize)) { 108 parsed_command_line.GetSwitchValueASCII(switches::kWindowSize); 113 if (parsed_command_line.HasSwitch(switches::kWindowPosition)) { 115 parsed_command_line.GetSwitchValueASCII(switches::kWindowPosition);
|
/external/chromium_org/chrome/browser/sync/ |
profile_sync_components_factory_impl.cc | 137 if (!command_line_->HasSwitch(switches::kDisableSyncAutofill)) { 144 if (!command_line_->HasSwitch(switches::kDisableSyncAutofillProfile)) { 151 if (!command_line_->HasSwitch(switches::kDisableSyncBookmarks)) { 159 !command_line_->HasSwitch(switches::kDisableSyncTypedUrls)) { 166 if (!command_line_->HasSwitch(switches::kHistoryDisableFullHistorySync)) { 173 if (!command_line_->HasSwitch(switches::kDisableSyncTabs)) { 181 if (!command_line_->HasSwitch(switches::kDisableSyncFavicons)) { 196 if (!command_line_->HasSwitch(switches::kDisableSyncPasswords)) { 206 if (!command_line_->HasSwitch(switches::kDisableSyncApps)) { 213 if (!command_line_->HasSwitch(switches::kDisableSyncExtensions)) [all...] |
/external/chromium_org/chrome/common/ |
logging_chrome.cc | 134 const char *kInvertLoggingSwitch = switches::kEnableLogging; 138 const char *kInvertLoggingSwitch = switches::kDisableLogging; 149 if (command_line.GetSwitchValueASCII(switches::kEnableLogging) == "stderr") 207 } else if (command_line.HasSwitch(chromeos::switches::kLoginProfile)) { 210 if (command_line.HasSwitch(switches::kMultiProfiles)) { 214 command_line.GetSwitchValueASCII(chromeos::switches::kLoginProfile)); 218 command_line.GetSwitchValuePath(chromeos::switches::kLoginProfile); 226 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kMultiProfiles) && 247 command_line.HasSwitch(switches::kEnableDCHECK) ? 288 if (command_line.HasSwitch(chromeos::switches::kGuestSession) [all...] |
/external/chromium/chrome/browser/prefs/ |
command_line_pref_store_unittest.cc | 47 cl.AppendSwitchASCII(switches::kLang, "hi-MOM"); 61 cl.AppendSwitch(switches::kNoProxyServer); 80 // Tests a complex command line with multiple known and unknown switches. 84 cl.AppendSwitchASCII(switches::kProxyServer, "proxy"); 85 cl.AppendSwitchASCII(switches::kProxyBypassList, "list"); 114 // No switches. 120 cl.AppendSwitch(switches::kNoProxyServer); 126 cl.AppendSwitch(switches::kProxyAutoDetect); 131 // All proxy switches except no-proxy. 133 cl2.AppendSwitch(switches::kProxyAutoDetect) [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
login_utils.cc | 419 switches::kEnableLogging, 420 switches::kEnableAcceleratedPlugins, 421 switches::kUseGL, 422 switches::kUserDataDir, 423 switches::kScrollPixels, 424 switches::kEnableGView, 425 switches::kNoFirstRun, 426 switches::kLoginProfile, 427 switches::kCompressSystemFeedback, 428 switches::kDisableSeccompSandbox [all...] |