Home
last modified time | relevance | path

Searched refs:proxy_config (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/chrome/browser/extensions/api/proxy/
Dproxy_api_helpers_unittest.cc72 base::DictionaryValue proxy_config; in TEST() local
78 proxy_config.SetString( in TEST()
81 ASSERT_TRUE(GetProxyModeFromExtensionPref(&proxy_config, &mode, &error, in TEST()
88 proxy_config.SetString(keys::kProxyConfigMode, "foobar"); in TEST()
89 EXPECT_FALSE(GetProxyModeFromExtensionPref(&proxy_config, &mode, &error, in TEST()
102 base::DictionaryValue proxy_config; in TEST() local
103 proxy_config.SetString( in TEST()
109 ASSERT_TRUE(GetPacUrlFromExtensionPref(&proxy_config, &out, &error, in TEST()
118 proxy_config.Set(keys::kProxyConfigPacScript, pacScriptDict); in TEST()
120 ASSERT_TRUE(GetPacUrlFromExtensionPref(&proxy_config, &out, &error, in TEST()
[all …]
Dproxy_api_helpers.h52 bool GetProxyModeFromExtensionPref(const base::DictionaryValue* proxy_config,
56 bool GetPacMandatoryFromExtensionPref(const base::DictionaryValue* proxy_config,
60 bool GetPacUrlFromExtensionPref(const base::DictionaryValue* proxy_config,
64 bool GetPacDataFromExtensionPref(const base::DictionaryValue* proxy_config,
69 const base::DictionaryValue* proxy_config,
73 bool GetBypassListFromExtensionPref(const base::DictionaryValue* proxy_config,
116 const ProxyConfigDictionary& proxy_config);
127 const ProxyConfigDictionary& proxy_config);
Dproxy_api_helpers.cc60 bool GetProxyModeFromExtensionPref(const base::DictionaryValue* proxy_config, in GetProxyModeFromExtensionPref() argument
68 proxy_config->GetStringASCII(keys::kProxyConfigMode, &proxy_mode); in GetProxyModeFromExtensionPref()
77 bool GetPacMandatoryFromExtensionPref(const base::DictionaryValue* proxy_config, in GetPacMandatoryFromExtensionPref() argument
82 proxy_config->GetDictionary(keys::kProxyConfigPacScript, &pac_dict); in GetPacMandatoryFromExtensionPref()
98 bool GetPacUrlFromExtensionPref(const base::DictionaryValue* proxy_config, in GetPacUrlFromExtensionPref() argument
103 proxy_config->GetDictionary(keys::kProxyConfigPacScript, &pac_dict); in GetPacUrlFromExtensionPref()
124 bool GetPacDataFromExtensionPref(const base::DictionaryValue* proxy_config, in GetPacDataFromExtensionPref() argument
129 proxy_config->GetDictionary(keys::kProxyConfigPacScript, &pac_dict); in GetPacDataFromExtensionPref()
191 const base::DictionaryValue* proxy_config, in GetProxyRulesStringFromExtensionPref() argument
196 proxy_config->GetDictionary(keys::kProxyConfigRules, &proxy_rules); in GetProxyRulesStringFromExtensionPref()
[all …]
/external/chromium_org/net/proxy/
Dproxy_config_service_android.cc227 ProxyConfig proxy_config; in FetchInitialConfig() local
228 GetLatestProxyConfigInternal(get_property_callback_, &proxy_config); in FetchInitialConfig()
231 base::Bind(&Delegate::SetNewConfigOnNetworkThread, this, proxy_config)); in FetchInitialConfig()
266 ProxyConfig proxy_config; in ProxySettingsChanged() local
267 GetLatestProxyConfigInternal(get_property_callback_, &proxy_config); in ProxySettingsChanged()
271 &Delegate::SetNewConfigOnNetworkThread, this, proxy_config)); in ProxySettingsChanged()
280 ProxyConfig proxy_config; in ProxySettingsChangedTo() local
282 CreateStaticProxyConfig(host, port, "", exclusion_list, &proxy_config); in ProxySettingsChangedTo()
285 &proxy_config); in ProxySettingsChangedTo()
290 &Delegate::SetNewConfigOnNetworkThread, this, proxy_config)); in ProxySettingsChangedTo()
[all …]
Dproxy_config_service_android_unittest.cc96 ProxyConfig proxy_config; in TestMapping() local
97 availability = service_.GetLatestProxyConfig(&proxy_config); in TestMapping()
100 proxy_config.proxy_rules().Apply(GURL(url), &proxy_info); in TestMapping()
Dproxy_service.cc942 net::ProxyConfig proxy_config; in CreateFixed() local
943 proxy_config.proxy_rules().ParseFromString(proxy); in CreateFixed()
944 return ProxyService::CreateFixed(proxy_config); in CreateFixed()
/external/chromium_org/chrome/browser/chromeos/net/
Dproxy_config_handler.cc39 namespace proxy_config { namespace
88 const base::DictionaryValue& value = network.proxy_config(); in GetProxyConfigForNetwork()
94 void SetProxyConfigForNetwork(const ProxyConfigDictionary& proxy_config, in SetProxyConfigForNetwork() argument
102 if (!proxy_config.GetMode(&mode) || mode == ProxyPrefs::MODE_DIRECT) { in SetProxyConfigForNetwork()
115 base::JSONWriter::Write(&proxy_config.GetDictionary(), &proxy_config_str); in SetProxyConfigForNetwork()
Dproxy_config_handler.h23 namespace proxy_config {
35 void SetProxyConfigForNetwork(const ProxyConfigDictionary& proxy_config,
/external/chromium_org/chrome/browser/chromeos/
Dui_proxy_config_service.cc43 net::ProxyConfig* proxy_config, in GetProxyConfig() argument
46 proxy_config::GetProxyConfigForNetwork( in GetProxyConfig()
51 proxy_config); in GetProxyConfig()
131 proxy_config::SetProxyConfigForNetwork(proxy_config_dict, *network); in SetProxyConfig()
Dproxy_config_service_impl.cc38 net::ProxyConfig* proxy_config, in GetProxyConfig() argument
41 proxy_config::GetProxyConfigForNetwork( in GetProxyConfig()
46 proxy_config); in GetProxyConfig()
Dproxy_config_service_impl_unittest.cc297 std::string proxy_config; in SetConfig() local
299 base::JSONWriter::Write(pref_proxy_config_dict, &proxy_config); in SetConfig()
308 base::StringValue(proxy_config)); in SetConfig()
/external/chromium_org/chromeos/network/
Dnetwork_state.h65 const base::DictionaryValue& proxy_config() const { return proxy_config_; } in proxy_config() function
/external/chromium_org/chrome/browser/sync/test/integration/
Dsync_test.cc149 const net::ProxyConfig& proxy_config) { in SetProxyConfigCallback() argument
153 new net::ProxyConfigServiceFixed(proxy_config)); in SetProxyConfigCallback()
1070 const net::ProxyConfig& proxy_config) { in SetProxyConfig() argument
1075 make_scoped_refptr(context_getter), proxy_config)); in SetProxyConfig()
Dsync_test.h335 const net::ProxyConfig& proxy_config);
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Dnetwork_state_informer.cc37 proxy_config::GetProxyConfigForNetwork( in HasDefaultNetworkProxyConfigured()
/external/chromium_org/chrome/browser/prefs/
Dbrowser_prefs.cc324 chromeos::proxy_config::RegisterPrefs(registry); in RegisterLocalState()
483 chromeos::proxy_config::RegisterProfilePrefs(registry); in RegisterProfilePrefs()
/external/chromium_org/chrome/browser/ui/webui/options/
Dpreferences_browsertest.cc824 ProxyConfigDictionary proxy_config(proxy_config_dict.get()); in SetUpOnMainThread() local
828 chromeos::proxy_config::SetProxyConfigForNetwork(proxy_config, *network); in SetUpOnMainThread()
921 chromeos::proxy_config::GetProxyConfigForNetwork( in VerifyCurrentProxyServer()
Dbrowser_options_handler.cc1843 const PrefService::Preference* proxy_config = in SetupProxySettingsSection() local
1845 bool is_extension_controlled = (proxy_config && in SetupProxySettingsSection()
1846 proxy_config->IsExtensionControlled()); in SetupProxySettingsSection()
1848 base::FundamentalValue disabled(is_win_ash || (proxy_config && in SetupProxySettingsSection()
1849 !proxy_config->IsUserModifiable())); in SetupProxySettingsSection()
/external/chromium_org/net/
Dnet.target.linux-arm64.mk296 net/proxy/proxy_config.cc \
Dnet.target.darwin-arm64.mk296 net/proxy/proxy_config.cc \
Dnet.target.linux-x86.mk296 net/proxy/proxy_config.cc \
Dnet.target.darwin-mips.mk296 net/proxy/proxy_config.cc \
Dnet.target.darwin-x86.mk296 net/proxy/proxy_config.cc \
Dnet.target.linux-mips.mk296 net/proxy/proxy_config.cc \
Dnet.target.linux-arm.mk296 net/proxy/proxy_config.cc \

12