/external/chromium/chrome/browser/chromeos/ |
D | proxy_config_service_impl.cc | 24 const char* SourceToString(ProxyConfigServiceImpl::ProxyConfig::Source source) { in SourceToString() 26 case ProxyConfigServiceImpl::ProxyConfig::SOURCE_NONE: in SourceToString() 28 case ProxyConfigServiceImpl::ProxyConfig::SOURCE_POLICY: in SourceToString() 30 case ProxyConfigServiceImpl::ProxyConfig::SOURCE_OWNER: in SourceToString() 38 const ProxyConfigServiceImpl::ProxyConfig::ManualProxy& proxy) { in operator <<() 46 const ProxyConfigServiceImpl::ProxyConfig& config) { in operator <<() 48 case ProxyConfigServiceImpl::ProxyConfig::MODE_DIRECT: in operator <<() 52 case ProxyConfigServiceImpl::ProxyConfig::MODE_AUTO_DETECT: in operator <<() 56 case ProxyConfigServiceImpl::ProxyConfig::MODE_PAC_SCRIPT: in operator <<() 61 case ProxyConfigServiceImpl::ProxyConfig::MODE_SINGLE_PROXY: in operator <<() [all …]
|
D | proxy_config_service_impl_unittest.cc | 27 ProxyConfigServiceImpl::ProxyConfig::Mode mode; 41 #define MK_MODE(mode) ProxyConfigServiceImpl::ProxyConfig::MODE_##mode 42 #define MK_SRC(src) ProxyConfigServiceImpl::ProxyConfig::SOURCE_##src 251 const ProxyConfigServiceImpl::ProxyConfig& init_config) { in CreateConfigService() 257 ProxyConfigServiceImpl::ProxyConfig::Mode mode, in SetAutomaticProxy() 258 ProxyConfigServiceImpl::ProxyConfig::Source source, in SetAutomaticProxy() 260 ProxyConfigServiceImpl::ProxyConfig* config, in SetAutomaticProxy() 261 ProxyConfigServiceImpl::ProxyConfig::AutomaticProxy* automatic_proxy) { in SetAutomaticProxy() 269 ProxyConfigServiceImpl::ProxyConfig::Mode mode, in SetManualProxy() 270 ProxyConfigServiceImpl::ProxyConfig::Source source, in SetManualProxy() [all …]
|
D | proxy_config_service_impl.h | 71 struct ProxyConfig { struct 106 ProxyConfig() : mode(MODE_DIRECT) {} in ProxyConfig() function 109 void ToNetProxyConfig(net::ProxyConfig* net_config); 159 explicit ProxyConfigServiceImpl(const ProxyConfig& init_config); 168 net::ProxyConfig* config); 171 void UIGetProxyConfig(ProxyConfig* config); 215 const ProxyConfig& new_config, 244 ProxyConfig cached_config_; 249 ProxyConfig reference_config_;
|
/external/chromium/net/proxy/ |
D | proxy_config.h | 33 class NET_EXPORT ProxyConfig { 113 ProxyConfig(); 114 ProxyConfig(const ProxyConfig& config); 115 ~ProxyConfig(); 116 ProxyConfig& operator=(const ProxyConfig& config); 124 bool Equals(const ProxyConfig& other) const; 166 static ProxyConfig CreateDirect() { in CreateDirect() 167 return ProxyConfig(); in CreateDirect() 170 static ProxyConfig CreateAutoDetect() { in CreateAutoDetect() 171 ProxyConfig config; in CreateAutoDetect() [all …]
|
D | proxy_config.cc | 27 ProxyConfig::ProxyRules::ProxyRules() in ProxyRules() 32 ProxyConfig::ProxyRules::~ProxyRules() { in ~ProxyRules() 35 void ProxyConfig::ProxyRules::Apply(const GURL& url, ProxyInfo* result) { in Apply() 73 void ProxyConfig::ProxyRules::ParseFromString(const std::string& proxy_rules) { in ParseFromString() 127 const ProxyServer* ProxyConfig::ProxyRules::MapUrlSchemeToProxy( in MapUrlSchemeToProxy() 138 bool ProxyConfig::ProxyRules::Equals(const ProxyRules& other) const { in Equals() 149 ProxyServer* ProxyConfig::ProxyRules::MapUrlSchemeToProxyNoFallback( in MapUrlSchemeToProxyNoFallback() 161 ProxyConfig::ProxyConfig() : auto_detect_(false), id_(INVALID_ID) { in ProxyConfig() function in net::ProxyConfig 164 ProxyConfig::ProxyConfig(const ProxyConfig& config) in ProxyConfig() function in net::ProxyConfig 171 ProxyConfig::~ProxyConfig() { in ~ProxyConfig() [all …]
|
D | proxy_config_unittest.cc | 25 ProxyConfig config1; in TEST() 28 ProxyConfig config2; in TEST() 53 config2.proxy_rules().type = ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in TEST() 60 config1.proxy_rules().type = ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in TEST() 102 ProxyConfig::ProxyRules::Type type; in TEST() 113 ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY, in TEST() 125 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in TEST() 137 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in TEST() 151 ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY, in TEST() 165 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in TEST() [all …]
|
D | proxy_config_service_common_unittest.cc | 53 ProxyConfig::ProxyRules::Type type, in ProxyRulesExpectation() 73 const ProxyConfig::ProxyRules& rules) const { in Matches() 111 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_NO_RULES, in Empty() 118 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_NO_RULES, in EmptyWithBypass() 127 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY, in Single() 138 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in PerScheme() 150 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in PerSchemeWithSocks() 161 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in PerSchemeWithBypassReversed()
|
D | proxy_config_service_linux.h | 148 ProxyConfig* config); 171 bool GetConfigFromEnv(ProxyConfig* config); 180 bool GetConfigFromGConf(ProxyConfig* config); 184 void SetNewProxyConfig(const ProxyConfig& new_config); 192 ProxyConfig cached_config_; 197 ProxyConfig reference_config_; 244 ProxyConfig* config);
|
D | proxy_config_service_mac.cc | 42 void GetCurrentProxyConfig(ProxyConfig* config) { in GetCurrentProxyConfig() 82 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetCurrentProxyConfig() 96 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetCurrentProxyConfig() 110 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetCurrentProxyConfig() 124 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetCurrentProxyConfig() 179 void OnProxyConfigChanged(const ProxyConfig& new_config) { in OnProxyConfigChanged() 214 ProxyConfigServiceMac::GetLatestProxyConfig(ProxyConfig* config) { in GetLatestProxyConfig() 247 ProxyConfig new_config; in OnNetworkConfigChange() 258 const ProxyConfig& new_config) { in OnProxyConfigChanged()
|
D | init_proxy_resolver.h | 20 class ProxyConfig; variable 60 int Init(const ProxyConfig& config, 62 ProxyConfig* effective_config, 86 UrlList BuildPacUrlsFallbackList(const ProxyConfig& config) const; 137 ProxyConfig* effective_config_;
|
/external/chromium_org/net/proxy/ |
D | proxy_config_unittest.cc | 25 ProxyConfig config1; in TEST() 28 ProxyConfig config2; in TEST() 53 config2.proxy_rules().type = ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in TEST() 60 config1.proxy_rules().type = ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in TEST() 102 ProxyConfig::ProxyRules::Type type; in TEST() 114 ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY, in TEST() 126 ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY, in TEST() 138 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in TEST() 150 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in TEST() 164 ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY, in TEST() [all …]
|
D | proxy_config.h | 36 class NET_EXPORT ProxyConfig { 151 ProxyConfig(); 152 ProxyConfig(const ProxyConfig& config); 153 ~ProxyConfig(); 154 ProxyConfig& operator=(const ProxyConfig& config); 163 bool Equals(const ProxyConfig& other) const; 221 static ProxyConfig CreateDirect() { in CreateDirect() 222 return ProxyConfig(); in CreateDirect() 225 static ProxyConfig CreateAutoDetect() { in CreateAutoDetect() 226 ProxyConfig config; in CreateAutoDetect() [all …]
|
D | proxy_config.cc | 38 ProxyConfig::ProxyRules::ProxyRules() in ProxyRules() 43 ProxyConfig::ProxyRules::~ProxyRules() { in ~ProxyRules() 46 void ProxyConfig::ProxyRules::Apply(const GURL& url, ProxyInfo* result) const { in Apply() 84 void ProxyConfig::ProxyRules::ParseFromString(const std::string& proxy_rules) { in ParseFromString() 142 const ProxyList* ProxyConfig::ProxyRules::MapUrlSchemeToProxyList( in MapUrlSchemeToProxyList() 153 bool ProxyConfig::ProxyRules::Equals(const ProxyRules& other) const { in Equals() 164 ProxyList* ProxyConfig::ProxyRules::MapUrlSchemeToProxyListNoFallback( in MapUrlSchemeToProxyListNoFallback() 176 ProxyConfig::ProxyConfig() in ProxyConfig() function in net::ProxyConfig 181 ProxyConfig::ProxyConfig(const ProxyConfig& config) in ProxyConfig() function in net::ProxyConfig 190 ProxyConfig::~ProxyConfig() { in ~ProxyConfig() [all …]
|
D | proxy_config_service_common_unittest.cc | 76 ProxyConfig::ProxyRules::Type type, in ProxyRulesExpectation() 96 const ProxyConfig::ProxyRules& rules) const { in Matches() 136 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_NO_RULES, in Empty() 143 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_NO_RULES, in EmptyWithBypass() 152 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY, in Single() 163 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in PerScheme() 175 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in PerSchemeWithSocks() 186 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in PerSchemeWithBypassReversed()
|
D | proxy_config_service_android.cc | 120 ProxyConfig::ProxyRules* rules) { in GetProxyRules() 127 rules->type = ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetProxyRules() 147 ProxyConfig* config) { in GetLatestProxyConfigInternal() 149 *config = ProxyConfig::CreateDirect(); in GetLatestProxyConfigInternal() 164 ProxyConfig* config) { in CreateStaticProxyConfig() 169 *config = ProxyConfig::CreateDirect(); in CreateStaticProxyConfig() 204 ProxyConfig proxy_config; in FetchInitialConfig() 232 ConfigAvailability GetLatestProxyConfig(ProxyConfig* config) { in GetLatestProxyConfig() 243 ProxyConfig proxy_config; in ProxySettingsChanged() 254 ProxyConfig proxy_config; in ProxySettingsChangedTo() [all …]
|
D | proxy_config_service_mac.cc | 42 void GetCurrentProxyConfig(ProxyConfig* config) { in GetCurrentProxyConfig() 80 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetCurrentProxyConfig() 94 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetCurrentProxyConfig() 108 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetCurrentProxyConfig() 123 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetCurrentProxyConfig() 178 void OnProxyConfigChanged(const ProxyConfig& new_config) { in OnProxyConfigChanged() 229 ProxyConfigServiceMac::GetLatestProxyConfig(ProxyConfig* config) { in GetLatestProxyConfig() 262 ProxyConfig new_config; in OnNetworkConfigChange() 272 const ProxyConfig& new_config) { in OnProxyConfigChanged()
|
D | proxy_config_service_linux.h | 198 ProxyConfig* config); 222 bool GetConfigFromEnv(ProxyConfig* config); 231 bool GetConfigFromSettings(ProxyConfig* config); 235 void SetNewProxyConfig(const ProxyConfig& new_config); 246 ProxyConfig cached_config_; 251 ProxyConfig reference_config_; 299 ProxyConfig* config) OVERRIDE;
|
/external/chromium_org/chrome/browser/net/ |
D | pref_proxy_config_tracker_impl.h | 46 net::ProxyConfig* config) OVERRIDE; 52 const net::ProxyConfig& config); 56 virtual void OnProxyConfigChanged(const net::ProxyConfig& config, 70 net::ProxyConfig pref_config_; 112 const net::ProxyConfig& pref_config, 114 const net::ProxyConfig& system_config, 117 net::ProxyConfig* effective_config); 122 net::ProxyConfig* config); 133 net::ProxyConfig* config); 140 ProxyPrefs::ConfigState GetProxyConfig(net::ProxyConfig* config); [all …]
|
D | pref_proxy_config_tracker_impl_unittest.cc | 33 TestProxyConfigService(const net::ProxyConfig& config, in TestProxyConfigService() 38 void SetProxyConfig(const net::ProxyConfig config, in SetProxyConfig() 58 net::ProxyConfig* config) OVERRIDE { in GetLatestProxyConfig() 63 net::ProxyConfig config_; 72 void(const net::ProxyConfig&, 110 net::ProxyConfig fixed_config_; 130 net::ProxyConfig actual_config; in TEST_F() 142 net::ProxyConfig actual_config; in TEST_F() 146 EXPECT_EQ(net::ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY, in TEST_F() 163 net::ProxyConfig reference(config); [all …]
|
D | pref_proxy_config_tracker_impl.cc | 48 ChromeProxyConfigService::GetLatestProxyConfig(net::ProxyConfig* config) { in GetLatestProxyConfig() 55 net::ProxyConfig system_config; in GetLatestProxyConfig() 75 const net::ProxyConfig& config) { in UpdateProxyConfig() 93 net::ProxyConfig new_config; in UpdateProxyConfig() 102 const net::ProxyConfig& config, in OnProxyConfigChanged() 110 net::ProxyConfig actual_config; in OnProxyConfigChanged() 176 const net::ProxyConfig& pref_config, in GetEffectiveProxyConfig() 178 const net::ProxyConfig& system_config, in GetEffectiveProxyConfig() 181 net::ProxyConfig* effective_config) { in GetEffectiveProxyConfig() 194 *effective_config = net::ProxyConfig::CreateDirect(); in GetEffectiveProxyConfig() [all …]
|
D | firefox_proxy_settings.h | 18 class ProxyConfig; variable 23 enum ProxyConfig { enum 49 ProxyConfig config_type() const { return config_type_; } in config_type() 77 bool ToProxyConfig(net::ProxyConfig* config); 87 ProxyConfig config_type_;
|
/external/chromium/chrome/browser/net/ |
D | pref_proxy_config_service_unittest.cc | 29 TestProxyConfigService(const net::ProxyConfig& config, in TestProxyConfigService() 34 void SetProxyConfig(const net::ProxyConfig config, in SetProxyConfig() 52 net::ProxyConfig* config) { in GetLatestProxyConfig() 57 net::ProxyConfig config_; 66 void(const net::ProxyConfig&, 99 net::ProxyConfig fixed_config_; 119 net::ProxyConfig actual_config; in TEST_F() 131 net::ProxyConfig actual_config; in TEST_F() 135 EXPECT_EQ(net::ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY, in TEST_F() 152 net::ProxyConfig reference(config); [all …]
|
D | pref_proxy_config_service.h | 55 ConfigState GetProxyConfig(net::ProxyConfig* config); 75 void InstallProxyConfig(const net::ProxyConfig& config, ConfigState state); 80 ConfigState ReadPrefConfig(net::ProxyConfig* config); 85 net::ProxyConfig* config); 89 net::ProxyConfig pref_config_; 121 virtual ConfigAvailability GetLatestProxyConfig(net::ProxyConfig* config); 128 virtual void OnProxyConfigChanged(const net::ProxyConfig& config,
|
D | pref_proxy_config_service.cc | 29 PrefProxyConfigTracker::GetProxyConfig(net::ProxyConfig* config) { in GetProxyConfig() 61 net::ProxyConfig new_config; in Observe() 74 const net::ProxyConfig& config, in InstallProxyConfig() 87 PrefProxyConfigTracker::ReadPrefConfig(net::ProxyConfig* config) { in ReadPrefConfig() 91 *config = net::ProxyConfig(); in ReadPrefConfig() 109 net::ProxyConfig* config) { in PrefConfigToNetConfig() 192 PrefProxyConfigService::GetLatestProxyConfig(net::ProxyConfig* config) { in GetLatestProxyConfig() 194 net::ProxyConfig pref_config; in GetLatestProxyConfig() 210 *config = net::ProxyConfig::CreateDirect(); in GetLatestProxyConfig() 222 const net::ProxyConfig& config, in OnProxyConfigChanged() [all …]
|
/external/chromium/chrome/browser/importer/ |
D | firefox_proxy_settings.h | 17 class ProxyConfig; variable 22 enum ProxyConfig { enum 48 ProxyConfig config_type() const { return config_type_; } in config_type() 76 bool ToProxyConfig(net::ProxyConfig* config); 86 ProxyConfig config_type_;
|