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 "googleGeolocationAccessEnabled": { 11 "nocompile": true, 12 "$ref": "types.private.ChromeDirectSetting", 13 "value": ["googlegeolocationaccess.enabled", {"type":"boolean"}], 14 "description": "If enabled, Google services can access the user's location. This preference's value is a boolean, defaulting to <code>false</code>." 15 } 16 }, 17 "functions": [ 18 { 19 "name": "getSyncCategoriesWithoutPassphrase", 20 "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.", 21 "type": "function", 22 "parameters": [ 23 { 24 "name": "callback", 25 "type": "function", 26 "parameters": [ 27 { 28 "name": "categories", 29 "type": "array", 30 "items": {"type": "string"} 31 } 32 ] 33 } 34 ] 35 } 36 ] 37 } 38 ] 39