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

Unified Diff: chrome/common/extensions/api/preferences_private.json

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 | « chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/preferences_private.json
diff --git a/chrome/common/extensions/api/preferences_private.json b/chrome/common/extensions/api/preferences_private.json
index 6babb2c67ee59e711381535561e2665a65a3fd62..c04647606684c53d30bb7aadbca3a0195d1b0ec3 100644
--- a/chrome/common/extensions/api/preferences_private.json
+++ b/chrome/common/extensions/api/preferences_private.json
@@ -18,6 +18,24 @@
"$ref": "types.private.ChromeDirectSetting",
"value": ["spdy_proxy.enabled", {"type":"boolean"}],
"description": "Flag to enable data usage reduction by sending requests via data reduction proxy. This preference's value is a boolean, defaulting to <code>false</code>."
+ },
+ "dataReductionDailyContentLength": {
+ "nocompile": true,
+ "$ref": "types.private.ChromeDirectSetting",
+ "value": ["data_reduction.daily_original_length", {"type":"array"}],
+ "description": "Each item contains the number uncompressed bytes through data reduction proxy per day."
+ },
+ "dataReductionDailyReceivedLength": {
+ "nocompile": true,
+ "$ref": "types.private.ChromeDirectSetting",
+ "value": ["data_reduction.daily_received_length", {"type":"array"}],
+ "description": "Each item contains the number of compressed bytes through data reduction proxy per day."
+ },
+ "dataReductionUpdateDailyLengths": {
+ "nocompile": true,
+ "$ref": "types.private.ChromeDirectSetting",
+ "value": ["data_reduction.update_daily_lengths", {"type":"boolean"}],
+ "description": "Flag to indicate that dataReductionDailyContentLength and dataReductionDailyReceivedLength must be updated with their latest values. This preference's value is a boolean, defaulting to <code>false</code>."
}
},
"functions": [
« no previous file with comments | « chrome/browser/extensions/api/preference/chrome_direct_setting_api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698