Home
last modified time | relevance | path

Searched refs:GetSwitchValueASCII (Results 1 – 25 of 51) sorted by relevance

123

/external/chromium/base/
Dcommand_line_unittest.cc69 EXPECT_EQ("Crepe", cl.GetSwitchValueASCII("spaetzle")); in TEST()
70 EXPECT_EQ("", cl.GetSwitchValueASCII("Foo")); in TEST()
71 EXPECT_EQ("", cl.GetSwitchValueASCII("bar")); in TEST()
72 EXPECT_EQ("", cl.GetSwitchValueASCII("cruller")); in TEST()
73 EXPECT_EQ("--dog=canine --cat=feline", cl.GetSwitchValueASCII( in TEST()
75 EXPECT_EQ("45--output-rotation", cl.GetSwitchValueASCII("input-translation")); in TEST()
139 EXPECT_EQ(value, cl.GetSwitchValueASCII(switch2)); in TEST()
141 EXPECT_EQ(value3, cl.GetSwitchValueASCII(switch3)); in TEST()
143 EXPECT_EQ(value4, cl.GetSwitchValueASCII(switch4)); in TEST()
145 EXPECT_EQ(value5, cl.GetSwitchValueASCII(switch5)); in TEST()
Dcommand_line.h100 std::string GetSwitchValueASCII(const std::string& switch_string) const;
/external/chromium/chrome/common/
Dprofiling.cc22 profile_name = command_line.GetSwitchValueASCII(switches::kProfilingFile); in GetProfileName()
26 command_line.GetSwitchValueASCII(switches::kProcessType); in GetProfileName()
45 command_line.GetSwitchValueASCII(switches::kProfilingFlush); in FlushProfilingData()
64 command_line.GetSwitchValueASCII(switches::kProcessType); in ProcessStarted()
68 command_line.GetSwitchValueASCII(switches::kProfilingAtStart); in ProcessStarted()
Dcommon_glue.cc38 parsed_command_line.GetSwitchValueASCII(switches::kLang); in GetWebKitLocale()
Dlogging_chrome.cc151 if (command_line.GetSwitchValueASCII(switches::kEnableLogging) == "stderr") in DetermineLogMode()
346 std::string log_level = command_line.GetSwitchValueASCII( in InitChromeLogging()
/external/chromium/net/tools/flip_server/
Dflip_in_mem_edsm_server.cc213 pidfile_fd = OpenPidFile(cl.GetSwitchValueASCII("pidfile").c_str()); in main()
222 cl.GetSwitchValueASCII("forward-ip-header")); in main()
224 cl.GetSwitchValueASCII("forward-ip-header")); in main()
228 std::string log_dest_value = cl.GetSwitchValueASCII("logdest"); in main()
244 g_proxy_config.log_filename_ = cl.GetSwitchValueASCII("logfile"); in main()
259 std::string session_expiry = cl.GetSwitchValueASCII("ssl-session-expiry"); in main()
269 atoi(cl.GetSwitchValueASCII("idle-timeout").c_str()); in main()
311 std::string value = cl.GetSwitchValueASCII(name.str()); in main()
335 std::string value = cl.GetSwitchValueASCII("spdy-server"); in main()
354 std::string value = cl.GetSwitchValueASCII("http-server"); in main()
/external/chromium/chrome/browser/prefs/
Dcommand_line_pref_store.cc52 GetSwitchValueASCII(string_switch_map_[i].switch_name)); in ApplySimpleSwitches()
85 command_line_->GetSwitchValueASCII(switches::kProxyPacUrl); in ApplyProxyMode()
93 command_line_->GetSwitchValueASCII(switches::kProxyServer); in ApplyProxyMode()
95 command_line_->GetSwitchValueASCII(switches::kProxyBypassList); in ApplyProxyMode()
/external/chromium/chrome/browser/sync/tools/
Dsync_listen_notifications.cc78 std::string email = command_line.GetSwitchValueASCII("email"); in main()
79 std::string token = command_line.GetSwitchValueASCII("token"); in main()
/external/chromium/chrome/browser/
Dbrowser_main.cc396 parsed_command_line().GetSwitchValueASCII(switches::kUseSpdy); in SpdyFieldTrial()
451 base::StringToInt(parsed_command_line().GetSwitchValueASCII( in SpdyFieldTrial()
635 parsed_command_line.GetSwitchValueASCII(switches::kHostRules)); in InitializeNetworkOptions()
645 base::StringToInt(parsed_command_line.GetSwitchValueASCII( in InitializeNetworkOptions()
1036 parsed_command_line.GetSwitchValueASCII(switches::kLoginScreen); in OptionallyRunChromeOSLoginManager()
1038 parsed_command_line.GetSwitchValueASCII( in OptionallyRunChromeOSLoginManager()
1058 parsed_command_line.GetSwitchValueASCII(switches::kLoginUser), in OptionallyRunChromeOSLoginManager()
1059 parsed_command_line.GetSwitchValueASCII(switches::kLoginPassword)); in OptionallyRunChromeOSLoginManager()
1272 parsed_command_line.GetSwitchValueASCII(switches::kTryChromeAgain); in BrowserMain()
1495 parsed_command_line.GetSwitchValueASCII(switches::kLoginUser); in BrowserMain()
[all …]
Dabout_flags_unittest.cc247 command_line.GetSwitchValueASCII(kSwitch1)); in TEST_F()
250 command_line.GetSwitchValueASCII(kSwitch2)); in TEST_F()
305 command_line.GetSwitchValueASCII(kMultiSwitch2)); in TEST_F()
Dshell_integration_win.cc231 GURL(command_line.GetSwitchValueASCII(switches::kApp)))); in GetExpectedAppId()
234 command_line.GetSwitchValueASCII(switches::kAppId))); in GetExpectedAppId()
Dio_thread.cc77 command_line.GetSwitchValueASCII(switches::kHostResolverParallelism); in CreateGlobalHostResolver()
130 command_line.GetSwitchValueASCII(switches::kDnsServer); in CreateGlobalHostResolver()
167 command_line.GetSwitchValueASCII(switches::kHostResolverRules)); in CreateGlobalHostResolver()
Dplugin_data_remover.cc180 CommandLine::ForCurrentProcess()->GetSwitchValueASCII( in IsSupported()
/external/chromium/chrome/browser/sync/notifier/
Dsync_notifier_factory.cc56 std::string value(command_line.GetSwitchValueASCII( in CreateDefaultSyncNotifier()
85 command_line.GetSwitchValueASCII(switches::kSyncNotificationMethod)); in CreateDefaultSyncNotifier()
/external/chromium/chrome/browser/ui/
Dbrowser_init.cc659 command_line_.GetSwitchValueASCII(switches::kRemoteShellPort); in Launch()
669 command_line_.GetSwitchValueASCII(switches::kRemoteDebuggingPort); in Launch()
682 webkit_glue::SetUserAgent(command_line_.GetSwitchValueASCII( in Launch()
752 *app_url = command_line_.GetSwitchValueASCII(switches::kApp); in IsAppLaunch()
757 *app_id = command_line_.GetSwitchValueASCII(switches::kAppId); in IsAppLaunch()
1310 std::string testing_channel_id = command_line.GetSwitchValueASCII( in ProcessCmdLineImpl()
1327 command_line.GetSwitchValueASCII(switches::kRestoreLastSession)); in ProcessCmdLineImpl()
1346 std::string automation_channel_id = command_line.GetSwitchValueASCII( in ProcessCmdLineImpl()
1383 command_line.GetSwitchValueASCII(switches::kExplicitlyAllowedPorts); in ProcessCmdLineImpl()
1400 command_line.GetSwitchValueASCII(switches::kTouchDevices); in ProcessCmdLineImpl()
/external/chromium/chrome/browser/safe_browsing/
Dfilter_false_positive_perftest.cc301 ASSERT_TRUE(base::StringToInt(cmd_line.GetSwitchValueASCII(kFilterStart), in TEST()
307 ASSERT_TRUE(base::StringToInt(cmd_line.GetSwitchValueASCII(kFilterSteps), in TEST()
330 base::StringToInt(cmd_line.GetSwitchValueASCII(kFilterNumChecks), in TEST()
/external/chromium/chrome/browser/service/
Dservice_process_control.cc140 std::string logging_level = browser_command_line.GetSwitchValueASCII( in Launch()
145 std::string v_level = browser_command_line.GetSwitchValueASCII( in Launch()
150 std::string v_modules = browser_command_line.GetSwitchValueASCII( in Launch()
/external/chromium/chrome/browser/net/websocket_experiment/
Dwebsocket_experiment_runner.cc40 std::string experiment_host = command_line.GetSwitchValueASCII( in Start()
100 std::string experiment_host_override = command_line.GetSwitchValueASCII( in InitConfig()
/external/chromium/net/tools/fetch/
Dfetch_client.cc127 std::string url = parsed_command_line.GetSwitchValueASCII("url"); in main()
132 base::StringToInt(parsed_command_line.GetSwitchValueASCII("n"), in main()
/external/chromium/base/test/
Dtest_timeouts.cc22 CommandLine::ForCurrentProcess()->GetSwitchValueASCII(switch_name)); in InitializeTimeout()
/external/chromium/chrome/browser/printing/cloud_print/
Dcloud_print_url.cc38 GURL cloud_print_service_url = GURL(command_line.GetSwitchValueASCII( in GetCloudPrintServiceURL()
/external/chromium/chrome/browser/net/
Dproxy_service_factory.cc73 std::string s = command_line.GetSwitchValueASCII(switches::kNumPacThreads); in CreateProxyService()
/external/chromium/chrome/browser/extensions/
Dextensions_startup.cc80 std::string extension_id = cmd_line.GetSwitchValueASCII( in UninstallExtension()
/external/chromium/chrome/browser/prerender/
Dprerender_field_trial.cc29 command_line.GetSwitchValueASCII(switches::kPrerender); in ConfigurePrefetchAndPrerender()
/external/chromium/chrome/browser/policy/
Dcloud_policy_subsystem.cc60 command_line->GetSwitchValueASCII(switches::kDeviceManagementUrl))); in CloudPolicySubsystem()

123