home *** CD-ROM | disk | FTP | other *** search
- // Copyright (c) 2012 The Chromium Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
-
- [
- {
- "namespace": "chromeosInfoPrivate",
- "nodoc": "true",
- "functions": [
- {
- "name": "get",
- "description": "Fetches customization values for the given property names. See property names in the declaration of the returned dictionary.",
- "type": "function",
- "parameters": [
- {
- "name": "propertyNames",
- "type": "array",
- "description": "Chrome OS Property names",
- "items": {"type": "string"}
- },
- {
- "name": "callback",
- "type": "function",
- "parameters": [
- {
- "name": "propertiesDictionary",
- "type": "object",
- "description": "Dictionary which contains all requested properties",
- "properties": {
- "hwid": {"type": "string", "optional": "true", "description": "Hardware ID"},
- "homeProvider" : {"type": "string", "optional": "true", "description": "Home provider which is used by the cellular device"},
- "initialLocale" : {"type": "string", "optional": "true", "description": "Initial locale for the device"},
- "board" : {"type": "string", "optional": "true", "description": "Board name"},
- "isOwner" : {"type": "boolean", "optional": "true", "description": "True if current logged in user is device owner"}
- }
- }
- ]
- }
- ]
- }
- ]
- }
- ]
-