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

Side by Side Diff: chrome/common/extensions/api/data_reduction_proxy.json

Issue 1130863002: Remove unused data reduction proxy prefs from direct settings API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "dataReductionProxy", 7 "namespace": "dataReductionProxy",
8 "description": "Use the <code>chrome.dataReductionProxy</code> API to contro l the data reduction proxy and access usage metrics. This API relies on the <a h ref='types#ChromeSetting'>ChromeSetting prototype of the type API</a> for gettin g and setting Chrome's configuration.", 8 "description": "Use the <code>chrome.dataReductionProxy</code> API to contro l the data reduction proxy and access usage metrics. This API relies on the <a h ref='types#ChromeSetting'>ChromeSetting prototype of the type API</a> for gettin g and setting Chrome's configuration.",
9 "properties": { 9 "properties": {
10 "spdyProxyEnabled": { 10 "spdyProxyEnabled": {
11 "nocompile": true, 11 "nocompile": true,
12 "$ref": "types.ChromeSetting", 12 "$ref": "types.ChromeSetting",
13 "value": ["spdy_proxy.enabled", {"type":"boolean"}], 13 "value": ["spdy_proxy.enabled", {"type":"boolean"}],
14 "description": "Flag to enable data usage reduction by sending requests via data reduction proxy. This preference's value is a boolean, defaulting to <c ode>false</code>." 14 "description": "Flag to enable data usage reduction by sending requests via data reduction proxy. This preference's value is a boolean, defaulting to <c ode>false</code>."
15 }, 15 },
16 "dataReductionDailyContentLength": { 16 "dataReductionDailyContentLength": {
17 "nocompile": true, 17 "nocompile": true,
18 "$ref": "types.ChromeSetting", 18 "$ref": "types.ChromeSetting",
19 "value": ["data_reduction.daily_original_length", {"type":"array"}], 19 "value": ["data_reduction.daily_original_length", {"type":"array"}],
20 "description": "Each item contains the number uncompressed bytes through data reduction proxy per day." 20 "description": "Each item contains the number uncompressed bytes through data reduction proxy per day."
21 }, 21 },
22 "dataReductionDailyReceivedLength": { 22 "dataReductionDailyReceivedLength": {
23 "nocompile": true, 23 "nocompile": true,
24 "$ref": "types.ChromeSetting", 24 "$ref": "types.ChromeSetting",
25 "value": ["data_reduction.daily_received_length", {"type":"array"}], 25 "value": ["data_reduction.daily_received_length", {"type":"array"}],
26 "description": "Each item contains the number of compressed bytes throug h data reduction proxy per day." 26 "description": "Each item contains the number of compressed bytes throug h data reduction proxy per day."
27 },
28 "dataReductionUpdateDailyLengths": {
29 "nocompile": true,
30 "$ref": "types.ChromeSetting",
31 "value": ["data_reduction.update_daily_lengths", {"type":"boolean"}],
32 "description": "Flag to indicate that dataReductionDailyContentLength an d dataReductionDailyReceivedLength must be updated with their latest values. Thi s preference's value is a boolean, defaulting to <code>false</code>."
33 } 27 }
34 }, 28 },
35 "functions": [ 29 "functions": [
36 { 30 {
37 "name": "clearDataSavings", 31 "name": "clearDataSavings",
38 "type": "function", 32 "type": "function",
39 "description": "Clear all data saving metrics obtained by using the data reduction proxy.", 33 "description": "Clear all data saving metrics obtained by using the data reduction proxy.",
40 "parameters": [ 34 "parameters": [
41 { 35 {
42 "type": "function", 36 "type": "function",
43 "name": "callback", 37 "name": "callback",
44 "description": "Callback to call after data savings have been cleare d", 38 "description": "Callback to call after data savings have been cleare d",
45 "optional": true, 39 "optional": true,
46 "parameters": [] 40 "parameters": []
47 } 41 }
48 ] 42 ]
49 } 43 }
50 ] 44 ]
51 } 45 }
52 ] 46 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/preference/preference_api.cc ('k') | chrome/common/extensions/api/preferences_private.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698