summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/api/chromeos_info_private.json
blob: e2cd008074778ac8a8150f0114c6af6f9fe7a437 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// 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"}
                }
              }
            ]
          }
        ]
      }
    ]
  }
]