Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 80dbe3442b777f51b62bf4883fca7d6895de4f17..59805e6ca695624777cce9c2ba253eafa0b0fef2 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -82,6 +82,7 @@ |
#include "chrome/grit/chromium_strings.h" |
#include "components/bookmarks/browser/bookmark_model.h" |
#include "components/data_reduction_proxy/browser/data_reduction_proxy_params.h" |
+#include "components/data_reduction_proxy/browser/data_reduction_proxy_prefs.h" |
#include "components/data_reduction_proxy/browser/data_reduction_proxy_settings.h" |
#include "components/data_reduction_proxy/browser/data_reduction_proxy_statistics_prefs.h" |
#include "components/domain_reliability/monitor.h" |
@@ -667,10 +668,12 @@ void ProfileImpl::DoFinalInit() { |
#else |
base::TimeDelta commit_delay = base::TimeDelta::FromMinutes(60); |
#endif |
+ data_reduction_proxy::MigrateStatisticsPrefs(g_browser_process->local_state(), |
+ prefs_.get()); |
mmenke
2014/10/15 15:49:34
Add a TODO, with a milestone, about when this can
bengr
2014/10/15 22:52:51
Done.
|
data_reduction_proxy_statistics_prefs = |
scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs>( |
new data_reduction_proxy::DataReductionProxyStatisticsPrefs( |
- g_browser_process->local_state(), |
+ prefs_.get(), |
base::MessageLoopProxy::current(), |
commit_delay)); |
data_reduction_proxy_chrome_settings->SetDataReductionProxyStatisticsPrefs( |