Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Unified Diff: third_party/chrome/idl/chromeos_info_private.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/chrome/idl/browsing_data.json ('k') | third_party/chrome/idl/cloud_print_private.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/chrome/idl/chromeos_info_private.json
diff --git a/third_party/chrome/idl/chromeos_info_private.json b/third_party/chrome/idl/chromeos_info_private.json
new file mode 100644
index 0000000000000000000000000000000000000000..9e7038fe9552730f6f7f2516cea106383fe239c7
--- /dev/null
+++ b/third_party/chrome/idl/chromeos_info_private.json
@@ -0,0 +1,43 @@
+// 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"}
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+]
« no previous file with comments | « third_party/chrome/idl/browsing_data.json ('k') | third_party/chrome/idl/cloud_print_private.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698