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

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

Issue 643443002: Move data_reduction_proxy_enabled pref to profile_impl_io_data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed mmenke's comments. Created 6 years, 2 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 21c72ab0ca2a89c015e4d1c1943c2858f9022f04..91521bc3dd2d96fab06853f7850bde347da2132c 100644
--- a/chrome/browser/profiles/profile_impl_io_data.h
+++ b/chrome/browser/profiles/profile_impl_io_data.h
@@ -149,6 +149,12 @@ class ProfileImplIOData : public ProfileIOData {
DISALLOW_COPY_AND_ASSIGN(Handle);
};
+ virtual bool IsDataReductionProxyEnabled() const OVERRIDE;
+
+ BooleanPrefMember* data_reduction_proxy_enabled() const {
+ return &data_reduction_proxy_enabled_;
+ }
+
private:
friend class base::RefCountedThreadSafe<ProfileImplIOData>;
@@ -235,6 +241,8 @@ class ProfileImplIOData : public ProfileIOData {
mutable scoped_ptr<net::SdchManager> sdch_manager_;
+ mutable BooleanPrefMember data_reduction_proxy_enabled_;
+
// Parameters needed for isolated apps.
base::FilePath profile_path_;
int app_cache_max_size_;
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_io_data.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