Home
last modified time | relevance | path

Searched refs:StringToProxyMode (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/prefs/
Dproxy_prefs_unittest.cc11 TEST(ProxyPrefsTest, StringToProxyMode) { in TEST() argument
13 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("direct", &mode)); in TEST()
15 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("auto_detect", &mode)); in TEST()
17 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("pac_script", &mode)); in TEST()
19 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("system", &mode)); in TEST()
21 EXPECT_TRUE(ProxyPrefs::StringToProxyMode("fixed_servers", &mode)); in TEST()
24 EXPECT_FALSE(ProxyPrefs::StringToProxyMode("monkey", &mode)); in TEST()
Dproxy_prefs.h48 bool StringToProxyMode(const std::string& in_value,
Dproxy_prefs.cc46 bool StringToProxyMode(const std::string& in_value, ProxyMode* out_value) { in StringToProxyMode() function
Dproxy_config_dictionary.cc37 && StringToProxyMode(mode_str, out); in GetMode()
/external/chromium/chrome/browser/extensions/
Dextension_proxy_api_helpers.cc68 if (!ProxyPrefs::StringToProxyMode(proxy_mode, out)) { in GetProxyModeFromExtensionPref()
/external/chromium/chrome/browser/policy/
Dconfiguration_policy_pref_store.cc645 if (!ProxyPrefs::StringToProxyMode(string_mode, &mode)) { in ApplyProxySettings()