/external/chromium_org/chrome/browser/ |
upgrade_detector_impl.cc | 62 return cmd_line.GetSwitchValueASCII(switches::kCheckForUpdateIntervalSec); 65 // Check if one of the outdated simulation switches was present on the command 69 return cmd_line.HasSwitch(switches::kSimulateOutdated) || 70 cmd_line.HasSwitch(switches::kSimulateOutdatedNoAU); 73 // Check if any of the testing switches was present on the command line. 76 return cmd_line.HasSwitch(switches::kSimulateUpgrade) || 77 cmd_line.HasSwitch(switches::kCheckForUpdateIntervalSec) || 78 cmd_line.HasSwitch(switches::kSimulateCriticalUpdate) || 173 command_line.AppendSwitch(switches::kProductVersion); 193 // The different command line switches that affect testing can't be use [all...] |
io_thread.cc | 175 if (command_line.HasSwitch(switches::kHostResolverParallelism)) { 177 command_line.GetSwitchValueASCII(switches::kHostResolverParallelism); 189 if (command_line.HasSwitch(switches::kHostResolverRetryAttempts)) { 191 command_line.GetSwitchValueASCII(switches::kHostResolverRetryAttempts); 212 if (command_line.HasSwitch(switches::kEnableIPv6)) { 216 } else if (command_line.HasSwitch(switches::kDisableIPv6)) { 223 if (!command_line.HasSwitch(switches::kHostResolverRules)) 229 command_line.GetSwitchValueASCII(switches::kHostResolverRules)); 577 if (command_line.HasSwitch(switches::kEnableClientHints)) 581 if (command_line.HasSwitch(switches::kDisableExtensionsHttpThrottling) [all...] |
chrome_content_browser_client.cc | 239 #include "extensions/common/switches.h" 454 if (command_line.HasSwitch(extensions::switches::kExtensionProcess)) { 462 command_line.GetSwitchValueASCII(switches::kProcessType); 464 if (process_type == switches::kRendererProcess) { 471 if (process_type == switches::kPluginProcess) { 478 if (process_type == switches::kPpapiPluginProcess) { 485 if (process_type == switches::kGpuProcess) { 1272 const base::ListValue* switches = local [all...] |
chrome_browser_main_win.cc | 58 #include "ui/gfx/switches.h" 214 switches::kDisableGpu); 217 if (!parsed_command_line().HasSwitch(switches::kNoErrorDialogs) && 272 if (parsed_command_line.HasSwitch(switches::kBrowserCrashTest) || 273 parsed_command_line.HasSwitch(switches::kBrowserAssertTest) || 274 parsed_command_line.HasSwitch(switches::kNoErrorDialogs)) 310 if (!command_line.HasSwitch(switches::kRestoreLastSession)) 311 command_line.AppendSwitch(switches::kRestoreLastSession); 331 if (parsed_command_line.HasSwitch(switches::kHideIcons)) { 384 uninstall_cmd.AppendSwitch(installer::switches::kSelfDestruct) [all...] |
/external/chromium_org/chrome/common/ |
crash_keys.cc | 67 const char kNumSwitches[] = "num-switches"; 175 // a collection of data, like command line switches or extension IDs. 179 // Register the switches. 254 // to fit in the switches (limited to 63 characters). 265 flag == "--flag-switches-begin" || 266 flag == "--flag-switches-end"; 269 ::switches::kEnableImplSidePainting, 270 ::switches::kEnableLogging, 271 ::switches::kFlagSwitchesBegin, 272 ::switches::kFlagSwitchesEnd [all...] |
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));
|
chrome_paths_win.cc | 109 if (process_type.empty() || process_type == switches::kServiceProcess) 113 if (process_type == switches::kNaClBrokerProcess || 114 process_type == switches::kNaClLoaderProcess) {
|
/external/chromium_org/ui/compositor/ |
compositor.cc | 18 #include "cc/base/switches.h" 103 !command_line->HasSwitch(switches::kDisableGpuVsync); 106 !command_line->HasSwitch(cc::switches::kUIDisablePartialSwap); 114 command_line->HasSwitch(cc::switches::kUIShowCompositedLayerBorders); 116 command_line->HasSwitch(cc::switches::kUIShowFPSCounter); 118 command_line->HasSwitch(cc::switches::kUIShowLayerAnimationBounds); 120 command_line->HasSwitch(switches::kUIShowPaintRects); 122 command_line->HasSwitch(cc::switches::kUIShowPropertyChangedRects); 124 command_line->HasSwitch(cc::switches::kUIShowSurfaceDamageRects); 126 command_line->HasSwitch(cc::switches::kUIShowScreenSpaceRects) [all...] |
/external/chromium_org/chrome/test/chromedriver/ |
chrome_launcher.cc | 102 Switches switches; local 105 switches.SetSwitch(kCommonSwitches[i]); 106 switches.SetSwitch("disable-hang-monitor"); 107 switches.SetSwitch("disable-prompt-on-repost"); 108 switches.SetSwitch("disable-sync"); 109 switches.SetSwitch("no-first-run"); 110 switches.SetSwitch("disable-background-networking"); 111 switches.SetSwitch("disable-web-resources"); 112 switches.SetSwitch("safebrowsing-disable-auto-update") [all...] |
/external/chromium_org/chrome/test/ppapi/ |
ppapi_test.cc | 44 command_line->AppendSwitch(switches::kUnlimitedStorage); 45 command_line->AppendSwitchASCII(switches::kAllowNaClFileHandleAPI, 136 command_line->AppendSwitch(switches::kEnableFileCookies); 140 command_line->AppendSwitch(switches::kEnablePepperTesting); 143 command_line->AppendSwitch(switches::kDisableSmoothScrolling); 249 switches::kAshBrowserTests)) { 304 command_line->AppendSwitchNative(switches::kRegisterPepperPlugins, 307 command_line->AppendSwitchASCII(switches::kAllowNaClSocketAPI, "127.0.0.1"); 309 command_line->AppendSwitch(switches::kPpapiInProcess); 328 command_line->AppendSwitch(switches::kUseFakeDeviceForMediaStream) [all...] |
/external/chromium_org/content/gpu/ |
gpu_main.cc | 112 if (command_line.HasSwitch(switches::kGpuStartupDialog)) { 131 if (command_line.HasSwitch(switches::kSupportsDualGpus)) { 133 switches::kGpuDriverBugWorkarounds); 158 if (command_line.HasSwitch(switches::kUseGL) && 159 command_line.GetSwitchValueASCII(switches::kUseGL) == 187 !command_line.HasSwitch(switches::kDisableGpuWatchdog) && 217 // commandline switches. 231 if (command_line.HasSwitch(switches::kGpuSandboxStartEarly)) { 243 if (!command_line.HasSwitch(switches::kNoSandbox)) { 249 if (command_line.HasSwitch(switches::kInProcessGPU)) [all...] |
/external/chromium_org/chrome/browser/metrics/ |
chrome_browser_main_extra_parts_metrics.cc | 194 command_line.HasSwitch(switches::kTouchEvents) ? 195 command_line.GetSwitchValueASCII(switches::kTouchEvents) : 196 switches::kTouchEventsAuto; 200 touch_enabled_switch == switches::kTouchEventsEnabled) { 202 } else if (touch_enabled_switch == switches::kTouchEventsAuto) { 205 } else if (touch_enabled_switch == switches::kTouchEventsDisabled) {
|
/external/chromium_org/chrome/browser/ui/ |
browser_window_state.cc | 142 bool record_mode = parsed_command_line.HasSwitch(switches::kRecordMode); 143 bool playback_mode = parsed_command_line.HasSwitch(switches::kPlaybackMode); 154 if (parsed_command_line.HasSwitch(switches::kWindowSize)) { 156 parsed_command_line.GetSwitchValueASCII(switches::kWindowSize); 161 if (parsed_command_line.HasSwitch(switches::kWindowPosition)) { 163 parsed_command_line.GetSwitchValueASCII(switches::kWindowPosition);
|
/external/chromium_org/chrome/installer/test/ |
alternate_version_generator_main.cc | 25 namespace switches { namespace in namespace:__anon10362 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/chrome/installer/util/ |
chrome_browser_operations.cc | 42 if (uninstall_command.HasSwitch(switches::kMultiInstall)) 65 if (!cmd_line->HasSwitch(switches::kMultiInstall)) 66 cmd_line->AppendSwitch(switches::kMultiInstall); 69 cmd_line->AppendSwitch(switches::kChrome); 80 !cmd_line->HasSwitch(switches::kMultiInstall)) { 81 cmd_line->AppendSwitch(switches::kMultiInstall);
|
/external/chromium_org/content/test/ppapi/ |
ppapi_test.cc | 48 command_line->AppendSwitch(switches::kEnableFileCookies); 52 command_line->AppendSwitch(switches::kEnablePepperTesting); 55 command_line->AppendSwitch(switches::kDisableSmoothScrolling); 58 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose_gc"); 120 command_line->AppendSwitchNative(switches::kRegisterPepperPlugins, 124 command_line->AppendSwitch(switches::kPpapiInProcess);
|
/external/chromium_org/chrome/browser/chromeos/background/ |
ash_user_wallpaper_delegate.cc | 30 switches::kFirstExecAfterBoot) || 32 !CommandLine::ForCurrentProcess()->HasSwitch(switches::kLoginManager)) { 73 HasSwitch(switches::kDisableBootAnimation);
|
/external/chromium_org/chrome/browser/chromeos/first_run/ |
first_run.cc | 69 bool launched_in_test = command_line->HasSwitch(::switches::kTestType); 71 command_line->HasSwitch(switches::kOobeSkipPostLogin); 73 bool first_run_forced = command_line->HasSwitch(switches::kForceFirstRunUI);
|
/external/chromium_org/chromecast/shell/browser/ |
cast_browser_main_parts.cc | 38 { switches::kDisableApplicationCache, "" }, 39 { switches::kDisablePlugins, "" }, 41 { switches::kBlinkPlatformLogChannels, "Media"},
|
/external/chromium_org/content/ppapi_plugin/ |
ppapi_plugin_main.cc | 75 if (command_line.HasSwitch(switches::kPpapiStartupDialog)) { 85 if (command_line.HasSwitch(switches::kLang)) { 86 std::string locale = command_line.GetSwitchValueASCII(switches::kLang);
|
/external/chromium_org/content/shell/android/browsertests_apk/ |
content_browser_tests_android.cc | 79 // Append required switches. 81 command_line->AppendSwitch(switches::kUseFakeDeviceForMediaStream); 82 command_line->AppendSwitch(switches::kUseFakeUIForMediaStream); 85 command_line->AppendSwitchASCII(switches::kRemoteDebuggingSocketName,
|
/external/chromium_org/tools/ipc_fuzzer/replay/ |
replay_process.cc | 34 switches::kIpcFuzzerTestcase)) { 56 switches::kProcessChannelID); 66 switches::kIpcFuzzerTestcase);
|
/external/chromium_org/ash/shell/content_client/ |
shell_main_delegate.cc | 24 command_line.GetSwitchValueASCII(switches::kProcessType);
|
/external/chromium_org/chrome/browser/android/ |
voice_search_tab_helper.cc | 29 switches::kDisableGestureRequirementForMediaPlayback))
|
/external/chromium_org/chrome/browser/background/ |
background_mode_manager_win.cc | 26 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kUserDataDir))
|