Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1563)

Unified Diff: chrome/browser/profiles/profile_impl_io_data.h

Issue 778463002: Wrapped data reduction proxy initialization into its own class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@network-delegate
Patch Set: Updated test Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8ea0f1a8c95b4ca3089e3746582a05e7f57c46e8..68b8260e43e88f9beb701d3d3bed1b1b0d7105d7 100644
--- a/chrome/browser/profiles/profile_impl_io_data.h
+++ b/chrome/browser/profiles/profile_impl_io_data.h
@@ -23,7 +23,6 @@ class CookieCryptoDelegate;
} // namespace content
namespace data_reduction_proxy {
-class DataReductionProxyConfigurator;
class DataReductionProxyNetworkDelegate;
} // namespace data_reduction_proxy
@@ -68,16 +67,7 @@ class ProfileImplIOData : public ProfileIOData {
content::CookieStoreConfig::SessionCookieMode session_cookie_mode,
storage::SpecialStoragePolicy* special_storage_policy,
scoped_ptr<domain_reliability::DomainReliabilityMonitor>
- domain_reliability_monitor,
- const base::Callback<void(bool)>& data_reduction_proxy_unavailable,
- scoped_ptr<data_reduction_proxy::DataReductionProxyConfigurator>
- data_reduction_proxy_configurator,
- scoped_ptr<data_reduction_proxy::DataReductionProxyParams>
- data_reduction_proxy_params,
- scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs>
- data_reduction_proxy_statistics_prefs,
- scoped_ptr<data_reduction_proxy::DataReductionProxyEventStore>
- data_reduction_proxy_event_store);
+ domain_reliability_monitor);
// These Create*ContextGetter() functions are only exposed because the
// circular relationship between Profile, ProfileIOData::Handle, and the
@@ -157,8 +147,6 @@ class ProfileImplIOData : public ProfileIOData {
DISALLOW_COPY_AND_ASSIGN(Handle);
};
- bool IsDataReductionProxyEnabled() const override;
-
private:
friend class base::RefCountedThreadSafe<ProfileImplIOData>;
@@ -247,8 +235,6 @@ class ProfileImplIOData : public ProfileIOData {
mutable scoped_ptr<net::SdchManager> sdch_manager_;
mutable scoped_ptr<net::SdchOwner> sdch_policy_;
- mutable BooleanPrefMember data_reduction_proxy_enabled_;
-
// Parameters needed for isolated apps.
base::FilePath profile_path_;
int app_cache_max_size_;
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698