| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 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": "chromeosInfoPrivate", |
| 8 "nodoc": "true", |
| 9 "functions": [ |
| 10 { |
| 11 "name": "get", |
| 12 "description": "Fetches customization values for the given property name
s. See property names in the declaration of the returned dictionary.", |
| 13 "type": "function", |
| 14 "parameters": [ |
| 15 { |
| 16 "name": "propertyNames", |
| 17 "type": "array", |
| 18 "description": "Chrome OS Property names", |
| 19 "items": {"type": "string"} |
| 20 }, |
| 21 { |
| 22 "name": "callback", |
| 23 "type": "function", |
| 24 "parameters": [ |
| 25 { |
| 26 "name": "propertiesDictionary", |
| 27 "type": "object", |
| 28 "description": "Dictionary which contains all requested properti
es", |
| 29 "properties": { |
| 30 "hwid": {"type": "string", "optional": "true", "description":
"Hardware ID"}, |
| 31 "homeProvider" : {"type": "string", "optional": "true", "descr
iption": "Home provider which is used by the cellular device"}, |
| 32 "initialLocale" : {"type": "string", "optional": "true", "desc
ription": "Initial locale for the device"}, |
| 33 "board" : {"type": "string", "optional": "true", "description"
: "Board name"}, |
| 34 "isOwner" : {"type": "boolean", "optional": "true", "descripti
on": "True if current logged in user is device owner"} |
| 35 } |
| 36 } |
| 37 ] |
| 38 } |
| 39 ] |
| 40 } |
| 41 ] |
| 42 } |
| 43 ] |
| OLD | NEW |