Commit 3dc96085 authored by kundaji's avatar kundaji Committed by Commit bot

Whitelist data savings prefs for the reduction proxy.

BUG=411543

Review URL: https://codereview.chromium.org/691123002

Cr-Commit-Position: refs/heads/master@{#302155}
parent 562c4aca
......@@ -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() {}
......
......@@ -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": [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment