Index: components/data_reduction_proxy/browser/data_reduction_proxy_settings.h |
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_settings.h b/components/data_reduction_proxy/browser/data_reduction_proxy_settings.h |
index e95705aa75a09e295986986fc6b02b77bb268c18..9db618e19085fcfd9017f51d9f3e25a8efa08c19 100644 |
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_settings.h |
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_settings.h |
@@ -22,9 +22,7 @@ |
class PrefService; |
namespace net { |
-class AuthChallengeInfo; |
class HostPortPair; |
-class HttpAuthCache; |
class HttpNetworkSession; |
class HttpResponseHeaders; |
class URLFetcher; |
@@ -127,21 +125,6 @@ class DataReductionProxySettings |
void SetProxyConfigurator( |
scoped_ptr<DataReductionProxyConfigurator> configurator); |
- // If proxy authentication is compiled in, pre-cache authentication |
- // keys for all configured proxies in |session|. |
- static void InitDataReductionProxySession( |
- net::HttpNetworkSession* session, |
- const DataReductionProxyParams* params); |
- |
- // Returns true if |auth_info| represents an authentication challenge from |
- // a compatible, configured proxy. |
- bool IsAcceptableAuthChallenge(net::AuthChallengeInfo* auth_info); |
- |
- // Returns a UTF16 string suitable for use as an authentication token in |
- // response to the challenge represented by |auth_info|. If the token can't |
- // be correctly generated for |auth_info|, returns an empty UTF16 string. |
- base::string16 GetTokenForAuthChallenge(net::AuthChallengeInfo* auth_info); |
- |
// Returns true if the proxy is enabled. |
bool IsDataReductionProxyEnabled(); |
@@ -275,12 +258,6 @@ class DataReductionProxySettings |
// NetworkChangeNotifier::IPAddressObserver: |
virtual void OnIPAddressChanged() OVERRIDE; |
- // Underlying implementation of InitDataReductionProxySession(), factored |
- // out to be testable without creating a full HttpNetworkSession. |
- static void InitDataReductionAuthentication( |
- net::HttpAuthCache* auth_cache, |
- const DataReductionProxyParams* params); |
- |
void OnProxyEnabledPrefChange(); |
void OnProxyAlternativeEnabledPrefChange(); |