Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/extensions/
Dextension_proxy_api_helpers_unittest.cc63 DictionaryValue proxy_config; in TEST() local
68 proxy_config.SetString( in TEST()
71 ASSERT_TRUE(GetProxyModeFromExtensionPref(&proxy_config, &mode, &error)); in TEST()
76 proxy_config.SetString(keys::kProxyConfigMode, "foobar"); in TEST()
77 EXPECT_FALSE(GetProxyModeFromExtensionPref(&proxy_config, &mode, &error)); in TEST()
87 DictionaryValue proxy_config; in TEST() local
88 proxy_config.SetString( in TEST()
94 ASSERT_TRUE(GetPacUrlFromExtensionPref(&proxy_config, &out, &error)); in TEST()
101 proxy_config.Set(keys::kProxyConfigPacScript, pacScriptDict); in TEST()
103 ASSERT_TRUE(GetPacUrlFromExtensionPref(&proxy_config, &out, &error)); in TEST()
[all …]
Dextension_proxy_api_helpers.h46 bool GetProxyModeFromExtensionPref(const DictionaryValue* proxy_config,
49 bool GetPacUrlFromExtensionPref(const DictionaryValue* proxy_config,
52 bool GetPacDataFromExtensionPref(const DictionaryValue* proxy_config,
55 bool GetProxyRulesStringFromExtensionPref(const DictionaryValue* proxy_config,
58 bool GetBypassListFromExtensionPref(const DictionaryValue* proxy_config,
96 const ProxyConfigDictionary& proxy_config);
106 DictionaryValue* CreatePacScriptDict(const ProxyConfigDictionary& proxy_config);
Dextension_proxy_api_helpers.cc60 bool GetProxyModeFromExtensionPref(const DictionaryValue* proxy_config, in GetProxyModeFromExtensionPref() argument
67 proxy_config->GetStringASCII(keys::kProxyConfigMode, &proxy_mode); in GetProxyModeFromExtensionPref()
75 bool GetPacUrlFromExtensionPref(const DictionaryValue* proxy_config, in GetPacUrlFromExtensionPref() argument
79 proxy_config->GetDictionary(keys::kProxyConfigPacScript, &pac_dict); in GetPacUrlFromExtensionPref()
99 bool GetPacDataFromExtensionPref(const DictionaryValue* proxy_config, in GetPacDataFromExtensionPref() argument
103 proxy_config->GetDictionary(keys::kProxyConfigPacScript, &pac_dict); in GetPacDataFromExtensionPref()
161 bool GetProxyRulesStringFromExtensionPref(const DictionaryValue* proxy_config, in GetProxyRulesStringFromExtensionPref() argument
165 proxy_config->GetDictionary(keys::kProxyConfigRules, &proxy_rules); in GetProxyRulesStringFromExtensionPref()
253 bool GetBypassListFromExtensionPref(const DictionaryValue* proxy_config, in GetBypassListFromExtensionPref() argument
257 proxy_config->GetDictionary(keys::kProxyConfigRules, &proxy_rules); in GetBypassListFromExtensionPref()
[all …]
/external/chromium/net/url_request/
Durl_request_test_util.cc53 net::ProxyConfig proxy_config; in TestURLRequestContext() local
54 proxy_config.proxy_rules().ParseFromString(proxy); in TestURLRequestContext()
56 net::ProxyService::CreateFixed(proxy_config)); in TestURLRequestContext()
64 net::ProxyConfig proxy_config; in TestURLRequestContext() local
65 proxy_config.proxy_rules().ParseFromString(proxy); in TestURLRequestContext()
67 net::ProxyService::CreateFixed(proxy_config)); in TestURLRequestContext()
/external/chromium/chrome/browser/ui/webui/options/
Dadvanced_options_handler.cc592 const PrefService::Preference* proxy_config = in SetupProxySettingsSection() local
594 bool is_extension_controlled = (proxy_config && in SetupProxySettingsSection()
595 proxy_config->IsExtensionControlled()); in SetupProxySettingsSection()
/external/chromium/net/proxy/
Dproxy_service.cc471 net::ProxyConfig proxy_config; in CreateFixed() local
472 proxy_config.proxy_rules().ParseFromString(proxy); in CreateFixed()
473 return ProxyService::CreateFixed(proxy_config); in CreateFixed()
/external/chromium/chrome/browser/chromeos/
Dproxy_config_service_impl.cc93 const ProxyConfigServiceImpl::ProxyConfig& proxy_config) { in ProxyConfigToString() argument
95 stream << proxy_config; in ProxyConfigToString()
/external/chromium/
DAndroid.mk285 net/proxy/proxy_config.cc \
/external/chromium/net/
Dnet.gyp567 'proxy/proxy_config.cc',
568 'proxy/proxy_config.h',
/external/chromium/net/http/
Dhttp_network_transaction_unittest.cc6872 ProxyConfig proxy_config; in TEST_F() local
6873 proxy_config.set_auto_detect(true); in TEST_F()
6874 proxy_config.set_pac_url(GURL("http://fooproxyurl")); in TEST_F()
6879 new ProxyConfigServiceFixed(proxy_config), capturing_proxy_resolver, in TEST_F()