Index: chrome/browser/profiles/profile_impl_io_data.h |
diff --git a/chrome/browser/profiles/profile_impl_io_data.h b/chrome/browser/profiles/profile_impl_io_data.h |
index 50570632f33c081d7a377892094bd6e92a4c6090..383fc4077441835204392cd985a141cf39c2f8e1 100644 |
--- a/chrome/browser/profiles/profile_impl_io_data.h |
+++ b/chrome/browser/profiles/profile_impl_io_data.h |
@@ -24,6 +24,10 @@ namespace content { |
class CookieCryptoDelegate; |
} // namespace content |
+namespace data_reduction_proxy { |
+class DataReductionProxyNetworkDelegate; |
+} // namespace data_reduction_proxy |
+ |
namespace domain_reliability { |
class DomainReliabilityMonitor; |
} // namespace domain_reliability |
@@ -155,10 +159,6 @@ class ProfileImplIOData : public ProfileIOData { |
bool IsDataReductionProxyEnabled() const override; |
- BooleanPrefMember* data_reduction_proxy_enabled() const { |
- return &data_reduction_proxy_enabled_; |
- } |
- |
private: |
friend class base::RefCountedThreadSafe<ProfileImplIOData>; |
@@ -182,10 +182,12 @@ class ProfileImplIOData : public ProfileIOData { |
ProfileImplIOData(); |
~ProfileImplIOData() override; |
- void InitializeInternal(ProfileParams* profile_params, |
- content::ProtocolHandlerMap* protocol_handlers, |
- content::URLRequestInterceptorScopedVector |
- request_interceptors) const override; |
+ void InitializeInternal( |
+ scoped_ptr<ChromeNetworkDelegate> chrome_network_delegate, |
+ ProfileParams* profile_params, |
+ content::ProtocolHandlerMap* protocol_handlers, |
+ content::URLRequestInterceptorScopedVector |
+ request_interceptors) const override; |
void InitializeExtensionsRequestContext( |
ProfileParams* profile_params) const override; |
net::URLRequestContext* InitializeAppRequestContext( |
@@ -219,6 +221,9 @@ class ProfileImplIOData : public ProfileIOData { |
void ClearNetworkingHistorySinceOnIOThread(base::Time time, |
const base::Closure& completion); |
+ mutable scoped_ptr<data_reduction_proxy::DataReductionProxyNetworkDelegate> |
+ network_delegate_; |
+ |
// Lazy initialization params. |
mutable scoped_ptr<LazyParams> lazy_params_; |