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

Unified Diff: chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc

Issue 691123002: Whitelist data savings prefs for the reduction proxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | chrome/common/extensions/api/preferences_private.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc
diff --git a/chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc b/chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc
index 4d396713990664dbba1b9edbb2a3a9e9a5fe53d7..7878fc5c6fa25f32260a6f9634915ee6d250523d 100644
--- a/chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc
+++ b/chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc
@@ -26,6 +26,9 @@ class PreferenceWhitelist {
PreferenceWhitelist() {
whitelist_.insert("googlegeolocationaccess.enabled");
whitelist_.insert("spdy_proxy.enabled");
+ whitelist_.insert("data_reduction.daily_original_length");
+ whitelist_.insert("data_reduction.daily_received_length");
+ whitelist_.insert("data_reduction.update_daily_lengths");
}
~PreferenceWhitelist() {}
« no previous file with comments | « no previous file | chrome/common/extensions/api/preferences_private.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698