home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / AvantBrowser / asetup.exe / _data / webkit / chrome.dll / 0 / BINDATA / 26505 < prev    next >
Encoding:
Text File  |  2013-04-03  |  1.6 KB  |  44 lines

  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 names. 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 properties",
  29.                 "properties": {
  30.                   "hwid": {"type": "string", "optional": "true", "description": "Hardware ID"},
  31.                   "homeProvider" : {"type": "string", "optional": "true", "description": "Home provider which is used by the cellular device"},
  32.                   "initialLocale" : {"type": "string", "optional": "true", "description": "Initial locale for the device"},
  33.                   "board" : {"type": "string", "optional": "true", "description": "Board name"},
  34.                   "isOwner" : {"type": "boolean", "optional": "true", "description": "True if current logged in user is device owner"}
  35.                 }
  36.               }
  37.             ]
  38.           }
  39.         ]
  40.       }
  41.     ]
  42.   }
  43. ]
  44.