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

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

Issue 473723002: Update data reduction proxy statistics prefs less often on desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tooManyWritesPatch
Patch Set: Fixing nits Created 6 years, 3 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 4283d30dd297fc121df7d4483ae2723f49ba8569..5e0a4b5fd90ee231628301f82476d167464dd1e9 100644
--- a/chrome/browser/profiles/profile_impl_io_data.h
+++ b/chrome/browser/profiles/profile_impl_io_data.h
@@ -27,7 +27,8 @@ namespace data_reduction_proxy {
class DataReductionProxyParams;
class DataReductionProxyUsageStats;
class DataReductionProxyAuthRequestHandler;
-}
+class DataReductionProxyStatisticsPrefs;
+} // namespace data_reduction_proxy
#endif
namespace domain_reliability {
@@ -77,7 +78,9 @@ class ProfileImplIOData : public ProfileIOData {
scoped_ptr<DataReductionProxyChromeConfigurator>
data_reduction_proxy_chrome_configurator,
scoped_ptr<data_reduction_proxy::DataReductionProxyParams>
- data_reduction_proxy_params);
+ data_reduction_proxy_params,
+ scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs>
+ data_reduction_proxy_statistics_prefs);
// These Create*ContextGetter() functions are only exposed because the
// circular relationship between Profile, ProfileIOData::Handle, and the
@@ -258,6 +261,8 @@ class ProfileImplIOData : public ProfileIOData {
data_reduction_proxy_chrome_configurator_;
mutable scoped_ptr<data_reduction_proxy::DataReductionProxyAuthRequestHandler>
data_reduction_proxy_auth_request_handler_;
+ mutable scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs>
+ data_reduction_proxy_statistics_prefs_;
#endif // defined(SPDY_PROXY_AUTH_ORIGIN)
DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
« 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