Searched refs:switches (Results 251 - 275 of 1342) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/chrome/browser/
H A Dupgrade_detector_impl.cc62 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 tha
[all...]
H A Dio_thread.cc175 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
[all...]
H A Dchrome_content_browser_client.cc239 #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) {
847 if (switches::IsEnableAccountConsistency())
1170 if (browser_command_line.HasSwitch(switches::kEnableOfflineAutoReload))
1172 if (browser_command_line.HasSwitch(switches
1272 const base::ListValue* switches = local
[all...]
H A Dchrome_browser_main_win.cc58 #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
[all...]
/external/chromium_org/chrome/common/
H A Dcrash_keys.cc67 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
[all...]
H A Dchrome_content_client_unittest.cc74 ASSERT_FALSE(command_line->HasSwitch(switches::kUseMobileUserAgent));
78 command_line->AppendSwitch(switches::kUseMobileUserAgent);
79 ASSERT_TRUE(command_line->HasSwitch(switches::kUseMobileUserAgent));
H A Dchrome_paths_win.cc109 if (process_type.empty() || process_type == switches::kServiceProcess)
113 if (process_type == switches::kNaClBrokerProcess ||
114 process_type == switches::kNaClLoaderProcess) {
/external/chromium_org/ui/compositor/
H A Dcompositor.cc18 #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
[all...]
/external/chromium_org/chrome/test/chromedriver/
H A Dchrome_launcher.cc102 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");
113 switches
680 UpdateExtensionSwitch(Switches* switches, const char name[], const base::FilePath::StringType& extension) argument
690 ProcessExtensions(const std::vector<std::string>& extensions, const base::FilePath& temp_dir, bool include_automation_extension, Switches* switches, std::vector<std::string>* bg_pages) argument
[all...]
/external/chromium_org/chrome/test/ppapi/
H A Dppapi_test.cc44 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
[all...]
/external/chromium_org/content/gpu/
H A Dgpu_main.cc112 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
[all...]
/external/chromium_org/chrome/browser/metrics/
H A Dchrome_browser_main_extra_parts_metrics.cc194 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/
H A Dbrowser_window_state.cc142 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/
H A Dalternate_version_generator_main.cc25 namespace switches { namespace in namespace:__anon5737
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/
H A Dchrome_browser_operations.cc42 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/
H A Dppapi_test.cc48 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/
H A Dash_user_wallpaper_delegate.cc30 switches::kFirstExecAfterBoot) ||
32 !CommandLine::ForCurrentProcess()->HasSwitch(switches::kLoginManager)) {
73 HasSwitch(switches::kDisableBootAnimation);
/external/chromium_org/chrome/browser/chromeos/first_run/
H A Dfirst_run.cc69 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/
H A Dcast_browser_main_parts.cc38 { switches::kDisableApplicationCache, "" },
39 { switches::kDisablePlugins, "" },
41 { switches::kBlinkPlatformLogChannels, "Media"},
/external/chromium_org/content/ppapi_plugin/
H A Dppapi_plugin_main.cc75 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/
H A Dcontent_browser_tests_android.cc79 // 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/
H A Dreplay_process.cc34 switches::kIpcFuzzerTestcase)) {
56 switches::kProcessChannelID);
66 switches::kIpcFuzzerTestcase);
/external/chromium_org/ash/shell/content_client/
H A Dshell_main_delegate.cc24 command_line.GetSwitchValueASCII(switches::kProcessType);
/external/chromium_org/chrome/browser/android/
H A Dvoice_search_tab_helper.cc29 switches::kDisableGestureRequirementForMediaPlayback))
/external/chromium_org/chrome/browser/background/
H A Dbackground_mode_manager_win.cc26 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kUserDataDir))

Completed in 2074 milliseconds

<<11121314151617181920>>