/external/chromium_org/content/child/ |
D | runtime_features.cc | 62 if (command_line.HasSwitch(switches::kEnableExperimentalWebPlatformFeatures)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 67 if (command_line.HasSwitch(switches::kDisableDatabases)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 70 if (command_line.HasSwitch(switches::kDisableApplicationCache)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 73 if (command_line.HasSwitch(switches::kDisableDesktopNotifications)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 76 if (command_line.HasSwitch(switches::kDisableNavigatorContentUtils)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 79 if (command_line.HasSwitch(switches::kDisableLocalStorage)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 82 if (command_line.HasSwitch(switches::kDisableSessionStorage)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 85 if (command_line.HasSwitch(switches::kDisableMediaSource)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 88 if (command_line.HasSwitch(switches::kDisableSharedWorkers)) in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() 92 if (command_line.HasSwitch(switches::kDisableWebRTC)) { in SetRuntimeFeaturesDefaultsAndUpdateFromArgs() [all …]
|
/external/chromium_org/base/ |
D | command_line_unittest.cc | 50 EXPECT_FALSE(cl.HasSwitch("cruller")); in TEST() 51 EXPECT_FALSE(cl.HasSwitch("flim")); in TEST() 52 EXPECT_FALSE(cl.HasSwitch("program")); in TEST() 53 EXPECT_FALSE(cl.HasSwitch("dog")); in TEST() 54 EXPECT_FALSE(cl.HasSwitch("cat")); in TEST() 55 EXPECT_FALSE(cl.HasSwitch("output-rotation")); in TEST() 56 EXPECT_FALSE(cl.HasSwitch("not-a-switch")); in TEST() 57 EXPECT_FALSE(cl.HasSwitch("--")); in TEST() 62 EXPECT_TRUE(cl.HasSwitch("foo")); in TEST() 63 EXPECT_TRUE(cl.HasSwitch("bAr")); in TEST() [all …]
|
/external/chromium_org/components/signin/core/common/ |
D | profile_management_switches.cc | 33 CommandLine::ForCurrentProcess()->HasSwitch( in GetProcessState() 36 CommandLine::ForCurrentProcess()->HasSwitch( in GetProcessState() 39 CommandLine::ForCurrentProcess()->HasSwitch( in GetProcessState() 42 CommandLine::ForCurrentProcess()->HasSwitch( in GetProcessState() 95 if (CommandLine::ForCurrentProcess()->HasSwitch(command_switch)) in CheckFlag() 110 return CommandLine::ForCurrentProcess()->HasSwitch( in IsEnableWebBasedSignin() 121 CommandLine::ForCurrentProcess()->HasSwitch(switches::kNewAvatarMenu) && in IsFastUserSwitching() 123 return CommandLine::ForCurrentProcess()->HasSwitch( in IsFastUserSwitching() 134 CommandLine::ForCurrentProcess()->HasSwitch(switches::kNewAvatarMenu); in IsNewAvatarMenu() 144 CommandLine::ForCurrentProcess()->HasSwitch(switches::kNewAvatarMenu); in IsNewProfileManagementPreviewEnabled() [all …]
|
/external/chromium_org/content/browser/gpu/ |
D | compositor_util.cc | 59 command_line.HasSwitch(switches::kDisableAccelerated2dCanvas) || in GetGpuFeatureInfo() 78 command_line.HasSwitch(switches::kDisableExperimentalWebGL), in GetGpuFeatureInfo() 85 command_line.HasSwitch(switches::kDisableFlash3d), in GetGpuFeatureInfo() 93 command_line.HasSwitch(switches::kDisableFlashStage3d), in GetGpuFeatureInfo() 103 command_line.HasSwitch(switches::kDisableFlashStage3d), in GetGpuFeatureInfo() 112 command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode), in GetGpuFeatureInfo() 122 command_line.HasSwitch(switches::kDisableWebRtcHWEncoding), in GetGpuFeatureInfo() 132 command_line.HasSwitch(switches::kDisablePanelFitting), in GetGpuFeatureInfo() 169 if (command_line.HasSwitch(cc::switches::kDisablePinchVirtualViewport)) in IsPinchVirtualViewportEnabled() 171 if (command_line.HasSwitch(cc::switches::kEnablePinchVirtualViewport)) in IsPinchVirtualViewportEnabled() [all …]
|
/external/chromium_org/chrome/browser/ |
D | about_flags_unittest.cc | 217 EXPECT_TRUE(command_line.HasSwitch("foo")); in TEST_F() 218 EXPECT_FALSE(command_line.HasSwitch(kSwitch1)); in TEST_F() 222 EXPECT_TRUE(command_line.HasSwitch("foo")); in TEST_F() 223 EXPECT_TRUE(command_line.HasSwitch(kSwitch1)); in TEST_F() 224 EXPECT_TRUE(command_line.HasSwitch(switches::kFlagSwitchesBegin)); in TEST_F() 225 EXPECT_TRUE(command_line.HasSwitch(switches::kFlagSwitchesEnd)); in TEST_F() 231 EXPECT_TRUE(command_line2.HasSwitch(kSwitch1)); in TEST_F() 232 EXPECT_FALSE(command_line2.HasSwitch(switches::kFlagSwitchesBegin)); in TEST_F() 233 EXPECT_FALSE(command_line2.HasSwitch(switches::kFlagSwitchesEnd)); in TEST_F() 300 EXPECT_FALSE(command_line.HasSwitch(kSwitch1)); in TEST_F() [all …]
|
D | io_thread.cc | 161 if (command_line.HasSwitch(switches::kHostResolverParallelism)) { in CreateGlobalHostResolver() 175 if (command_line.HasSwitch(switches::kHostResolverRetryAttempts)) { in CreateGlobalHostResolver() 198 if (command_line.HasSwitch(switches::kEnableIPv6)) { in CreateGlobalHostResolver() 202 } else if (command_line.HasSwitch(switches::kDisableIPv6)) { in CreateGlobalHostResolver() 209 if (!command_line.HasSwitch(switches::kHostResolverRules)) in CreateGlobalHostResolver() 544 if (command_line.HasSwitch(switches::kEnableClientHints)) in InitAsync() 546 if (command_line.HasSwitch(switches::kDisableExtensionsHttpThrottling)) in InitAsync() 573 if (command_line.HasSwitch(switches::kCertificateTransparencyLog)) { in InitAsync() 598 if (command_line.HasSwitch(switches::kCertificateTransparencyLog)) { in InitAsync() 637 if (command_line.HasSwitch(switches::kHostRules)) { in InitAsync() [all …]
|
D | chrome_browser_main.cc | 211 if (command_line.HasSwitch(switches::kBrowserAssertTest)) { in HandleTestParameters() 216 if (command_line.HasSwitch(switches::kBrowserCrashTest)) { in HandleTestParameters() 276 parsed_command_line.HasSwitch(switches::kParentProfile)) { in InitializeLocalState() 295 if (parsed_command_line.HasSwitch(chromeos::switches::kLoginManager)) { in InitializeLocalState() 318 parsed_command_line.HasSwitch(switches::kProfileDirectory)) { in CreatePrimaryProfile() 399 if (!command_line.HasSwitch(switches::kDisableCRLSets)) in RegisterComponentsForUpdate() 426 if (command_line.HasSwitch(switches::kOriginalProcessStartTime)) { in ProcessSingletonNotificationCallback() 433 if (command_line.HasSwitch(switches::kFastStart)) { in ProcessSingletonNotificationCallback() 458 if (command_line.HasSwitch(::switches::kRemoteDebuggingPort)) { in LaunchDevToolsHandlerIfNeeded() 567 if (command_line->HasSwitch(switches::kEnableBenchmarking)) in SetupMetricsAndFieldTrials() [all …]
|
D | chrome_content_browser_client_unittest.cc | 62 EXPECT_TRUE(to_command_line_.HasSwitch(switches::kDisableWebRtcEncryption)); in TEST_F() 67 EXPECT_TRUE(to_command_line_.HasSwitch(switches::kDisableWebRtcEncryption)); in TEST_F() 72 EXPECT_TRUE(to_command_line_.HasSwitch(switches::kDisableWebRtcEncryption)); in TEST_F() 78 EXPECT_TRUE(to_command_line_.HasSwitch(switches::kDisableWebRtcEncryption)); in TEST_F() 80 EXPECT_FALSE(to_command_line_.HasSwitch(switches::kDisableWebRtcEncryption)); in TEST_F() 86 EXPECT_FALSE(to_command_line_.HasSwitch(switches::kDisableWebRtcEncryption)); in TEST_F()
|
/external/chromium_org/ui/app_list/ |
D | app_list_switches.cc | 36 return !CommandLine::ForCurrentProcess()->HasSwitch(kDisableSyncAppList); in IsAppListSyncEnabled() 38 return CommandLine::ForCurrentProcess()->HasSwitch(kEnableSyncAppList); in IsAppListSyncEnabled() 54 return !CommandLine::ForCurrentProcess()->HasSwitch(kDisableVoiceSearch); in IsVoiceSearchEnabled() 62 return !CommandLine::ForCurrentProcess()->HasSwitch(kDisableAppInfo); in IsAppInfoEnabled() 69 return CommandLine::ForCurrentProcess()->HasSwitch( in IsExperimentalAppListEnabled() 74 return CommandLine::ForCurrentProcess()->HasSwitch(kEnableCenteredAppList) || in IsCenteredAppListEnabled() 79 return CommandLine::ForCurrentProcess()->HasSwitch(kEnableDriveAppsInAppList); in IsDriveAppsInAppListEnabled()
|
/external/chromium_org/content/renderer/gpu/ |
D | render_widget_compositor.cc | 101 !cmd->HasSwitch(switches::kDisableGpuVsync); in Create() 103 cmd->HasSwitch(switches::kEnableBeginFrameScheduling); in Create() 105 cmd->HasSwitch(cc::switches::kEnableMainFrameBeforeActivation) && in Create() 106 !cmd->HasSwitch(cc::switches::kDisableMainFrameBeforeActivation); in Create() 108 !cmd->HasSwitch(cc::switches::kDisableMainFrameBeforeDraw); in Create() 111 !cmd->HasSwitch(cc::switches::kDisableThreadedAnimation); in Create() 113 !cmd->HasSwitch(cc::switches::kDisableCompositorTouchHitTesting); in Create() 116 if (cmd->HasSwitch(switches::kDefaultTileWidth)) { in Create() 121 if (cmd->HasSwitch(switches::kDefaultTileHeight)) { in Create() 129 if (cmd->HasSwitch(switches::kMaxUntiledLayerWidth)) { in Create() [all …]
|
/external/chromium_org/chrome/browser/prefs/ |
D | command_line_pref_store.cc | 87 if (command_line_->HasSwitch(switches::kNoProxyServer) && in ValidateProxySwitches() 88 (command_line_->HasSwitch(switches::kProxyAutoDetect) || in ValidateProxySwitches() 89 command_line_->HasSwitch(switches::kProxyServer) || in ValidateProxySwitches() 90 command_line_->HasSwitch(switches::kProxyPacUrl) || in ValidateProxySwitches() 91 command_line_->HasSwitch(switches::kProxyBypassList))) { in ValidateProxySwitches() 102 if (command_line_->HasSwitch(string_switch_map_[i].switch_name)) { in ApplySimpleSwitches() 110 if (command_line_->HasSwitch(integer_switch_map_[i].switch_name)) { in ApplySimpleSwitches() 126 if (command_line_->HasSwitch(boolean_switch_map_[i].switch_name)) { in ApplySimpleSwitches() 135 if (command_line_->HasSwitch(switches::kNoProxyServer)) { in ApplyProxyMode() 138 } else if (command_line_->HasSwitch(switches::kProxyPacUrl)) { in ApplyProxyMode() [all …]
|
/external/chromium_org/ui/base/ |
D | ui_base_switches_util.cc | 13 return CommandLine::ForCurrentProcess()->HasSwitch( in IsTextInputFocusManagerEnabled() 19 return !CommandLine::ForCurrentProcess()->HasSwitch( in IsTouchDragDropEnabled() 22 return CommandLine::ForCurrentProcess()->HasSwitch( in IsTouchDragDropEnabled() 29 return !CommandLine::ForCurrentProcess()->HasSwitch( in IsTouchEditingEnabled() 32 return CommandLine::ForCurrentProcess()->HasSwitch( in IsTouchEditingEnabled()
|
/external/chromium_org/net/tools/testserver/ |
D | run_testserver.cc | 42 command_line->HasSwitch("help")) { in main() 48 if (command_line->HasSwitch("http")) { in main() 50 } else if (command_line->HasSwitch("https")) { in main() 52 } else if (command_line->HasSwitch("ws")) { in main() 54 } else if (command_line->HasSwitch("wss")) { in main() 56 } else if (command_line->HasSwitch("ftp")) { in main() 61 if (command_line->HasSwitch("ssl-cert")) in main() 68 if (command_line->HasSwitch("ssl-cert")) { in main()
|
/external/chromium_org/net/tools/dump_cache/ |
D | dump_cache.cc | 83 bool do_upgrade = command_line.HasSwitch(kUpgrade); in LaunchSlave() 84 bool do_convert_to_text = command_line.HasSwitch(kDumpToFiles); in LaunchSlave() 121 bool dump_to_files = command_line.HasSwitch(kDumpToFiles); in main() 122 bool upgrade = command_line.HasSwitch(kUpgrade); in main() 134 if (command_line.HasSwitch(kSlave)) { in main() 143 if (command_line.HasSwitch(kSlave) && slave_required) in main() 181 if (command_line.HasSwitch(kDumpContents)) in main() 184 if (command_line.HasSwitch(kDumpHeaders)) in main()
|
/external/chromium_org/net/tools/quic/ |
D | quic_client_bin.cc | 52 if (line->HasSwitch("h") || line->HasSwitch("help")) { in main() 65 if (line->HasSwitch("port")) { in main() 71 if (line->HasSwitch("address")) { in main() 74 if (line->HasSwitch("hostname")) { in main() 77 if (line->HasSwitch("secure")) { in main()
|
/external/chromium_org/net/tools/flip_server/ |
D | flip_in_mem_edsm_server.cc | 167 if (cl.HasSwitch("help") || argc < 2) { in main() 206 if (cl.HasSwitch("pidfile")) { in main() 214 if (cl.HasSwitch("forward-ip-header")) { in main() 221 if (cl.HasSwitch("logdest")) { in main() 236 if (cl.HasSwitch("logfile")) { in main() 245 if (cl.HasSwitch("wait-for-iface")) { in main() 249 if (cl.HasSwitch("ssl-session-expiry")) { in main() 254 if (cl.HasSwitch("ssl-disable-compression")) { in main() 258 if (cl.HasSwitch("idle-timeout")) { in main() 263 if (cl.HasSwitch("force_spdy")) in main() [all …]
|
/external/chromium_org/ui/compositor/ |
D | compositor.cc | 102 !command_line->HasSwitch(switches::kDisableGpuVsync); in Compositor() 105 !command_line->HasSwitch(cc::switches::kUIDisablePartialSwap); in Compositor() 113 command_line->HasSwitch(cc::switches::kUIShowCompositedLayerBorders); in Compositor() 115 command_line->HasSwitch(cc::switches::kUIShowFPSCounter); in Compositor() 117 command_line->HasSwitch(cc::switches::kUIShowLayerAnimationBounds); in Compositor() 119 command_line->HasSwitch(switches::kUIShowPaintRects); in Compositor() 121 command_line->HasSwitch(cc::switches::kUIShowPropertyChangedRects); in Compositor() 123 command_line->HasSwitch(cc::switches::kUIShowSurfaceDamageRects); in Compositor() 125 command_line->HasSwitch(cc::switches::kUIShowScreenSpaceRects); in Compositor() 127 command_line->HasSwitch(cc::switches::kUIShowReplicaScreenSpaceRects); in Compositor() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/command_line_private/ |
D | command_line_private_api.cc | 25 scoped_ptr<command_line_private::HasSwitch::Params> params( in RunSync() 26 command_line_private::HasSwitch::Params::Create(*args_)); in RunSync() 34 results_ = command_line_private::HasSwitch::Results::Create( in RunSync() 35 CommandLine::ForCurrentProcess()->HasSwitch(params->name)); in RunSync()
|
/external/chromium_org/chromeos/tools/onc_validator/ |
D | onc_validator.cc | 125 command_line.HasSwitch(kSwitchErrorOnUnknownField), in main() 126 command_line.HasSwitch(kSwitchErrorOnWrongRecommended), in main() 127 command_line.HasSwitch(kSwitchErrorOnMissingField), in main() 128 command_line.HasSwitch(kSwitchManagedOnc)); in main() 130 if (command_line.HasSwitch(kSwitchUserPolicy)) in main() 132 else if (command_line.HasSwitch(kSwitchDevicePolicy)) in main() 134 else if (command_line.HasSwitch(kSwitchUserImport)) in main()
|
/external/chromium_org/chrome/test/chromedriver/server/ |
D | chromedriver_server.cc | 221 if (cmd_line->HasSwitch("h") || cmd_line->HasSwitch("help")) { in main() 244 if (cmd_line->HasSwitch("v") || cmd_line->HasSwitch("version")) { in main() 248 if (cmd_line->HasSwitch("port")) { in main() 254 if (cmd_line->HasSwitch("adb-port")) { in main() 261 if (cmd_line->HasSwitch("port-server")) { in main() 277 if (cmd_line->HasSwitch("url-base")) in main() 283 if (cmd_line->HasSwitch("whitelisted-ips")) { in main() 288 if (!cmd_line->HasSwitch("silent")) { in main()
|
/external/chromium_org/chrome/browser/chromeos/ |
D | chrome_browser_main_chromeos.cc | 194 return command_line.HasSwitch(switches::kLoginManager) && in ShouldAutoLaunchKioskApp() 195 !command_line.HasSwitch(switches::kForceLoginManagerInTests) && in ShouldAutoLaunchKioskApp() 213 } else if (parsed_command_line.HasSwitch(switches::kLoginManager)) { in OptionallyRunChromeOSLoginManager() 226 } else if (parsed_command_line.HasSwitch(switches::kLoginUser) && in OptionallyRunChromeOSLoginManager() 227 parsed_command_line.HasSwitch(switches::kLoginPassword)) { in OptionallyRunChromeOSLoginManager() 233 if (!parsed_command_line.HasSwitch(::switches::kTestName)) { in OptionallyRunChromeOSLoginManager() 357 if (parsed_command_line().HasSwitch(switches::kGuestSession)) { in PreEarlyInitialization() 368 !parsed_command_line().HasSwitch(switches::kLoginManager) && in PreEarlyInitialization() 369 !parsed_command_line().HasSwitch(switches::kLoginUser) && in PreEarlyInitialization() 370 !parsed_command_line().HasSwitch(switches::kGuestSession)) { in PreEarlyInitialization() [all …]
|
/external/chromium_org/content/browser/renderer_host/ |
D | render_view_host_impl.cc | 345 !command_line.HasSwitch(switches::kDisableJavaScript); in GetWebkitPrefs() 347 !command_line.HasSwitch(switches::kDisableWebSecurity); in GetWebkitPrefs() 349 !command_line.HasSwitch(switches::kDisablePlugins); in GetWebkitPrefs() 351 !command_line.HasSwitch(switches::kDisableJava); in GetWebkitPrefs() 354 !command_line.HasSwitch(switches::kDisableRemoteFonts); in GetWebkitPrefs() 356 !command_line.HasSwitch(switches::kDisableXSLT); in GetWebkitPrefs() 358 !command_line.HasSwitch(switches::kDisableXSSAuditor); in GetWebkitPrefs() 360 !command_line.HasSwitch(switches::kDisableApplicationCache); in GetWebkitPrefs() 363 !command_line.HasSwitch(switches::kDisableLocalStorage); in GetWebkitPrefs() 365 !command_line.HasSwitch(switches::kDisableDatabases); in GetWebkitPrefs() [all …]
|
/external/chromium_org/content/renderer/ |
D | renderer_main.cc | 61 if (command_line.HasSwitch(switches::kWaitForDebugger)) in HandleRendererErrorTestParameters() 64 if (command_line.HasSwitch(switches::kRendererStartupDialog)) in HandleRendererErrorTestParameters() 68 if (command_line.HasSwitch(switches::kRendererAssertTest)) { in HandleRendererErrorTestParameters() 134 if (parsed_command_line.HasSwitch(switches::kLang)) { in RendererMain() 174 if (parsed_command_line.HasSwitch(switches::kMemoryMetrics)) { in RendererMain() 181 bool no_sandbox = parsed_command_line.HasSwitch(switches::kNoSandbox); in RendererMain() 191 if (parsed_command_line.HasSwitch(switches::kForceFieldTrials)) { in RendererMain()
|
/external/chromium_org/content/shell/renderer/ |
D | shell_content_renderer_client.cc | 70 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) { in ShellContentRendererClient() 101 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) in RenderViewCreated() 124 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) in OverrideCreateWebMediaStreamCenter() 138 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) in OverrideCreateWebRTCPeerConnectionHandler() 160 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) in OverrideCreateAudioDevice() 168 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) in OverrideWebClipboard() 176 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) in OverrideThemeEngine()
|
/external/chromium_org/content/shell/browser/ |
D | shell_content_browser_client.cc | 131 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) in ShellContentBrowserClient() 148 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) in RenderProcessWillLaunch() 210 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) in AppendExtraCommandLineSwitches() 212 if (CommandLine::ForCurrentProcess()->HasSwitch( in AppendExtraCommandLineSwitches() 215 if (CommandLine::ForCurrentProcess()->HasSwitch( in AppendExtraCommandLineSwitches() 218 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kStableReleaseMode)) in AppendExtraCommandLineSwitches() 220 if (CommandLine::ForCurrentProcess()->HasSwitch( in AppendExtraCommandLineSwitches() 224 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kCrashDumpsDir)) { in AppendExtraCommandLineSwitches() 230 if (CommandLine::ForCurrentProcess()->HasSwitch( in AppendExtraCommandLineSwitches() 233 if (CommandLine::ForCurrentProcess()->HasSwitch( in AppendExtraCommandLineSwitches() [all …]
|