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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h

Issue 652743004: Migrate data reduction proxy statistics prefs to profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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: components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h
index b444851064c37e987d4185c1e48f59e4ad8d4c74..abf56ea3191661f6d154a1ba97f494432f23ec6d 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h
@@ -12,6 +12,7 @@ class PrefRegistrySyncable;
}
class PrefRegistrySimple;
+class PrefService;
namespace data_reduction_proxy {
@@ -28,6 +29,11 @@ void RegisterSimpleProfilePrefs(PrefRegistrySimple* registry);
// reduction proxy.
void RegisterPrefs(PrefRegistrySimple* registry);
+// Migrates the prefs that are used to record compression statistics from |src|
+// to |dest|.
+// TODO(bengr): Remove this in M-43.
+void MigrateStatisticsPrefs(PrefService* src, PrefService* dest);
+
} // namespace data_reduction_proxy
#endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_PREFS_H_

Powered by Google App Engine
This is Rietveld 408576698