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

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: 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 d30cb019f7189e24855c6fdb48d156509d726aea..e62b87135a7394a6ba5d414a05ec899f23dc6cc3 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -40,6 +40,8 @@ namespace base {
class SequencedTaskRunner;
}
+class DataReductionProxyChromeSettings;
+
namespace domain_reliability {
class DomainReliabilityMonitor;
}
@@ -167,6 +169,13 @@ class ProfileImpl : public Profile {
void InitHostZoomMap();
+ // Initialize the data reduction proxy.
+ void InitDataReductionProxy(base::Callback<void(bool)>* unavailable_callback);
+
+ // Run final initialization steps that must occur after the profile is
+ // initialized.
+ void RunInitDataReductionProxyTask();
+
void OnDefaultZoomLevelChanged();
void OnZoomLevelChanged(
const content::HostZoomMap::ZoomLevelChange& change);
@@ -285,6 +294,8 @@ class ProfileImpl : public Profile {
chrome_browser_net::Predictor* predictor_;
+ DataReductionProxyChromeSettings* data_reduction_proxy_chrome_settings_;
+
DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
};

Powered by Google App Engine
This is Rietveld 408576698