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

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

Issue 412143009: Moved data reduction proxy initialization logic to ProfileImplIOData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from willchan Created 6 years, 5 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
Index: chrome/browser/profiles/profile_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index 5ffe398ae12707808c9d8f40d6de3938c7564fc6..e592cdc19263867da5dcf6d7f2e080ad0ee8d532 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -40,6 +40,12 @@ namespace base {
class SequencedTaskRunner;
}
+namespace data_reduction_proxy {
+class DataReductionProxyParams;
+}
+
+class DataReductionProxyChromeSettings;
+
namespace domain_reliability {
class DomainReliabilityMonitor;
}
@@ -167,6 +173,15 @@ class ProfileImpl : public Profile {
void InitHostZoomMap();
+ // Initialize the data reduction proxy.
+ void InitDataReductionProxyForIO(
+ scoped_ptr<data_reduction_proxy::DataReductionProxyParams>* params,
+ base::Callback<void(bool)>* unavailable_callback);
+
+ // Run final initialization steps that must occur after the profile is
+ // initialized.
+ void InitDataReductionProxySettings();
+
void OnDefaultZoomLevelChanged();
void OnZoomLevelChanged(
const content::HostZoomMap::ZoomLevelChange& change);

Powered by Google App Engine
This is Rietveld 408576698