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

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: Undo BUILD.gn and fix aw_browser_context Created 6 years, 4 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_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..3df750da89040bcf75eccae1c500dac2188848fb 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 {
@@ -69,15 +70,19 @@ class ProfileImplIOData : public ProfileIOData {
const base::FilePath& profile_path,
const base::FilePath& infinite_cache_path,
chrome_browser_net::Predictor* predictor,
- content::CookieStoreConfig::SessionCookieMode session_cookie_mode,
+ content::CookieStoreConfig::SessionCookieMode
+ session_cookie_mode,
bengr 2014/08/27 04:53:25 move up with previous line
megjablon 2014/08/28 20:44:06 Done.
storage::SpecialStoragePolicy* special_storage_policy,
scoped_ptr<domain_reliability::DomainReliabilityMonitor>
domain_reliability_monitor,
- const base::Callback<void(bool)>& data_reduction_proxy_unavailable,
+ const base::Callback<void(bool)>&
+ data_reduction_proxy_unavailable,
bengr 2014/08/27 04:53:25 move up with previous line
megjablon 2014/08/28 20:44:06 Done.
scoped_ptr<DataReductionProxyChromeConfigurator>
- data_reduction_proxy_chrome_configurator,
+ data_reduction_proxy_chrome_configurator,
bengr 2014/08/27 04:53:25 Fix indent
megjablon 2014/08/28 20:44:07 Done.
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 +263,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);

Powered by Google App Engine
This is Rietveld 408576698