Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / api / preferences_private.json
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 [
6   {
7     "namespace": "preferencesPrivate",
8     "description": "none",
9     "properties": {
10       "easyUnlockProximityRequired": {
11         "nocompile": true,
12         "$ref": "types.private.ChromeDirectSetting",
13         "value": ["easy_unlock.proximity_required", {"type":"boolean"}],
14         "description": "If true, a remote Easy Unlock device can only unlock the local device if it is in very close proximity (roughly, within a foot). This preference's value is a boolean, defaulting to <code>false</code>."
15       },
16       "googleGeolocationAccessEnabled": {
17         "nocompile": true,
18         "$ref": "types.private.ChromeDirectSetting",
19         "value": ["googlegeolocationaccess.enabled", {"type":"boolean"}],
20         "description": "If enabled, Google services can access the user's location. This preference's value is a boolean, defaulting to <code>false</code>."
21       },
22       "spdyProxyEnabled": {
23         "nocompile": true,
24         "$ref": "types.private.ChromeDirectSetting",
25         "value": ["spdy_proxy.enabled", {"type":"boolean"}],
26         "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>."
27       },
28       "dataReductionDailyContentLength": {
29         "nocompile": true,
30         "$ref": "types.private.ChromeDirectSetting",
31         "value": ["data_reduction.daily_original_length", {"type":"array"}],
32         "description": "Each item contains the number uncompressed bytes through data reduction proxy per day."
33       },
34       "dataReductionDailyReceivedLength": {
35         "nocompile": true,
36         "$ref": "types.private.ChromeDirectSetting",
37         "value": ["data_reduction.daily_received_length", {"type":"array"}],
38         "description": "Each item contains the number of compressed bytes through data reduction proxy per day."
39       },
40       "dataReductionUpdateDailyLengths": {
41         "nocompile": true,
42         "$ref": "types.private.ChromeDirectSetting",
43         "value": ["data_reduction.update_daily_lengths", {"type":"boolean"}],
44         "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>."
45       }
46     },
47     "functions": [
48       {
49         "name": "getSyncCategoriesWithoutPassphrase",
50         "description": "Returns a list of sync categories the user has enabled without using a custom passphrase for encryption. The possible values are those that can be returned from syncer::ModelTypeToString in sync/syncable/model_type.cc.",
51         "type": "function",
52         "parameters": [
53           {
54             "name": "callback",
55             "type": "function",
56             "parameters": [
57               {
58                 "name": "categories",
59                 "type": "array",
60                 "items": {"type": "string"}
61               }
62             ]
63           }
64         ]
65       }
66     ]
67   }
68 ]