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

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..eaf7efc1b3979b8b82914ae7385568cf5690c738 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 InitDataReductionProxy(
+ 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 RunInitDataReductionProxyTask();
+
void OnDefaultZoomLevelChanged();
void OnZoomLevelChanged(
const content::HostZoomMap::ZoomLevelChange& change);
@@ -285,6 +300,8 @@ class ProfileImpl : public Profile {
chrome_browser_net::Predictor* predictor_;
+ DataReductionProxyChromeSettings* data_reduction_proxy_chrome_settings_;
willchan no longer on Chromium 2014/07/29 00:26:56 The comments above say not to add any more. What d
bengr 2014/07/29 21:29:52 Done. Removed. On 2014/07/29 00:26:56, willchan w
+
DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
};

Powered by Google App Engine
This is Rietveld 408576698