/external/chromium_org/chrome_frame/ |
chrome_launcher_unittest.cc | 13 bad.AppendSwitch(switches::kNoFirstRun); // in whitelist 15 bad.AppendSwitch(switches::kHomePage); // exists but not in whitelist 21 good.AppendSwitch(switches::kNoFirstRun); // in whitelist 22 good.AppendSwitch(switches::kDisableBackgroundMode); // in whitelist 23 good.AppendSwitchASCII(switches::kUserDataDir, "foo"); // in whitelist
|
/external/chromium_org/content/test/ |
content_browser_test.cc | 60 command_line->AppendSwitch(switches::kContentBrowserTest); 66 if (command_line->HasSwitch(switches::kSingleProcess)) { 79 command_line->AppendSwitchPath(switches::kBrowserSubprocessPath, 86 command_line->AppendSwitch(switches::kDisableAcceleratedVideoDecode); 99 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) {
|
content_test_launcher.cc | 111 command_line->AppendSwitchPath(switches::kContentShellDataPath, 113 command_line->AppendSwitch(switches::kUseFakeDeviceForMediaStream); 114 command_line->AppendSwitch(switches::kUseFakeUIForMediaStream);
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
RuntimeCSSEnabled.cpp | 100 static BoolVector* switches = 0; local 101 if (!switches) { 102 switches = new BoolVector; 104 switches->fill(true, lastCSSProperty + 1); 107 return *switches;
|
/external/chromium_org/content/browser/gpu/ |
gpu_process_host.cc | 169 if (cmd_line_->HasSwitch(switches::kDisableGpuSandbox)) { 187 if (cmd_line_->GetSwitchValueASCII(switches::kUseGL) == 195 if (cmd_line_->GetSwitchValueASCII(switches::kUseGL) == 197 cmd_line_->HasSwitch(switches::kReduceGpuSandbox) || 198 cmd_line_->HasSwitch(switches::kDisableImageTransportSurface)) { 260 if (cmd_line_->HasSwitch(switches::kEnableLogging)) { 325 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess) || 326 CommandLine::ForCurrentProcess()->HasSwitch(switches::kInProcessGPU) || 426 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess) || 427 CommandLine::ForCurrentProcess()->HasSwitch(switches::kInProcessGPU)) [all...] |
/external/chromium_org/content/common/ |
sandbox_linux.cc | 31 command_line.GetSwitchValueASCII(switches::kProcessType); 127 switches::kProcessType); 140 if (process_type != switches::kGpuProcess) 167 SandboxSeccompBpf::ShouldEnableSeccompBpf(switches::kRendererProcess)) { 243 if (command_line->HasSwitch(switches::kNoSandbox)) { 258 if (process_type == switches::kRendererProcess || 259 process_type == switches::kWorkerProcess) {
|
/external/chromium_org/chrome/browser/ |
io_thread.cc | 136 if (command_line.HasSwitch(switches::kHostResolverParallelism)) { 138 command_line.GetSwitchValueASCII(switches::kHostResolverParallelism); 150 if (command_line.HasSwitch(switches::kHostResolverRetryAttempts)) { 152 command_line.GetSwitchValueASCII(switches::kHostResolverRetryAttempts); 166 if (command_line.HasSwitch(switches::kEnableIPv6)) { 170 } else if (command_line.HasSwitch(switches::kDisableIPv6)) { 177 if (!command_line.HasSwitch(switches::kHostResolverRules)) 183 command_line.GetSwitchValueASCII(switches::kHostResolverRules)); 513 if (command_line.HasSwitch(switches::kDisableExtensionsHttpThrottling)) 521 if (command_line.HasSwitch(switches::kSpdyProxyAuthOrigin)) [all...] |
chrome_content_browser_client.cc | 130 #include "extensions/common/switches.h" 485 if (command_line.HasSwitch(switches::kExtensionProcess)) { 492 command_line.GetSwitchValueASCII(switches::kProcessType); 494 if (process_type == switches::kRendererProcess) 497 if (process_type == switches::kPluginProcess) 500 if (process_type == switches::kPpapiPluginProcess) 503 if (process_type == switches::kGpuProcess) [all...] |
upgrade_detector_impl.cc | 65 return cmd_line.GetSwitchValueASCII(switches::kCheckForUpdateIntervalSec); 70 return cmd_line.HasSwitch(switches::kSimulateUpgrade) || 71 cmd_line.HasSwitch(switches::kCheckForUpdateIntervalSec) || 72 cmd_line.HasSwitch(switches::kSimulateCriticalUpdate) || 73 cmd_line.HasSwitch(switches::kSimulateOutdated); 140 // The different command line switches that affect testing can't be used 145 // - kSimulateUpgrade supersedes critical or outdated upgrade switches. 148 if (command_line.HasSwitch(switches::kDisableBackgroundNetworking)) 150 if (command_line.HasSwitch(switches::kSimulateUpgrade)) { 154 if (command_line.HasSwitch(switches::kSimulateCriticalUpdate)) [all...] |
/external/chromium_org/content/browser/ |
ppapi_plugin_process_host.cc | 264 browser_command_line.GetSwitchValueNative(switches::kPpapiPluginLauncher); 277 cmd_line->AppendSwitchASCII(switches::kProcessType, 278 is_broker_ ? switches::kPpapiBrokerProcess 279 : switches::kPpapiPluginProcess); 280 cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id); 282 // These switches are forwarded to both plugin and broker pocesses. 284 switches::kVModule 291 switches::kDisableSeccompFilterSandbox, 293 switches::kEnableSandboxLogging, 295 switches::kNoSandbox [all...] |
/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 | 56 launch_arguments_.AppendSwitch(switches::kDisablePlugins); 58 launch_arguments_.AppendSwitch(switches::kEnableLogging); 65 launch_arguments_.AppendSwitchASCII(switches::kForceGpuMemAvailableMb, 77 launch_arguments_.AppendSwitch(switches::kPlaybackMode); 78 launch_arguments_.AppendSwitch(switches::kNoEvents); 79 launch_arguments_.AppendSwitch(switches::kDisableGpuShaderDiskCache); 84 switches::kUserDataDir); 97 launch_arguments_.AppendSwitch(switches::kRecordMode); 98 launch_arguments_.AppendSwitch(switches::kNoEvents); 103 launch_arguments_.AppendSwitchPath(switches::kUserDataDir, user_data_dir_) [all...] |
/external/chromium_org/chrome/installer/util/ |
installation_validator_unittest.cc | 202 uninstall_command_.AppendSwitch(installer::switches::kUninstall); 204 uninstall_command_.AppendSwitch(installer::switches::kSystemLevel); 206 uninstall_command_.AppendSwitch(installer::switches::kMultiInstall); 208 uninstall_command_.AppendSwitch(installer::switches::kChrome); 210 uninstall_command_.AppendSwitch(installer::switches::kChromeFrame); 212 installer::switches::kChromeFrameReadyMode); 215 uninstall_command_.AppendSwitch(installer::switches::kChromeFrame); 218 installer::switches::kChromeFrameReadyMode); 222 uninstall_command_.AppendSwitch(installer::switches::kChromeFrame); 225 uninstall_command_.AppendSwitch(installer::switches::kMsi) [all...] |
installation_validator.cc | 33 ctx.state.uninstall_command().HasSwitch(switches::kMultiInstall); 46 cf_state->uninstall_command().HasSwitch(switches::kChromeFrameReadyMode); 47 expectations->push_back(std::make_pair(std::string(switches::kChromeFrame), 50 std::make_pair(std::string(switches::kChromeFrameReadyMode), ready_mode)); 57 ctx.state.uninstall_command().HasSwitch(switches::kMultiInstall); 64 std::make_pair(std::string(switches::kChromeFrame), false)); 66 std::make_pair(std::string(switches::kChromeFrameReadyMode), false)); 85 expectations->push_back(std::make_pair(std::string(switches::kChromeFrame), 88 expectations->push_back(std::make_pair(std::string(switches::kChrome), 96 expectations->push_back(std::make_pair(std::string(switches::kChromeFrame) [all...] |
/external/chromium_org/chrome/test/ppapi/ |
ppapi_test.cc | 119 command_line->AppendSwitch(switches::kEnableFileCookies); 123 command_line->AppendSwitch(switches::kEnablePepperTesting); 126 command_line->AppendSwitch(switches::kDisableSmoothScrolling); 129 command_line->AppendSwitch(switches::kUnlimitedStorage); 130 command_line->AppendSwitchASCII(switches::kAllowNaClFileHandleAPI, 301 command_line->AppendSwitchNative(switches::kRegisterPepperPlugins, 303 command_line->AppendSwitchASCII(switches::kAllowNaClSocketAPI, "127.0.0.1"); 306 command_line->AppendSwitch(switches::kPpapiInProcess); 320 command_line->AppendSwitch(switches::kUseFakeDeviceForMediaStream); 321 command_line->AppendSwitch(switches::kUseFakeUIForMediaStream) [all...] |
/external/chromium_org/chrome/installer/test/ |
alternate_version_generator_main.cc | 25 namespace switches { namespace in namespace:__anon9225 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/renderer/ |
render_process_impl.cc | 74 if (command_line.HasSwitch(switches::kJavaScriptFlags)) { 76 command_line.GetSwitchValueASCII(switches::kJavaScriptFlags)); 96 if (command_line.HasSwitch(switches::kInProcessPlugins)) 98 return command_line.HasSwitch(switches::kInProcessPlugins); 100 return command_line.HasSwitch(switches::kInProcessPlugins) || 101 command_line.HasSwitch(switches::kSingleProcess);
|
/external/chromium_org/content/shell/ |
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)) { 186 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) {
|
/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 | 87 if (command_line->HasSwitch(switches::kTraceStartup)) { 89 command_line->GetSwitchValueASCII(switches::kTraceStartup)); 103 command_line->HasSwitch(switches::kEnableDCHECK) ?
|
/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/chrome/browser/chromeos/frame/ |
browser_frame_chromeos.cc | 41 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kChromeosFrame))
|