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

Unified Diff: third_party/chrome/idl/cloud_print_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/chromeos_info_private.json ('k') | third_party/chrome/idl/commands.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/chrome/idl/cloud_print_private.json
diff --git a/third_party/chrome/idl/cloud_print_private.json b/third_party/chrome/idl/cloud_print_private.json
new file mode 100644
index 0000000000000000000000000000000000000000..cf7714c655e81dcfbb9a92bc3141b5264f9f15d2
--- /dev/null
+++ b/third_party/chrome/idl/cloud_print_private.json
@@ -0,0 +1,84 @@
+// 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": "cloudPrintPrivate",
+ "nodoc": "true",
+ "functions": [
+ {
+ "name": "setupConnector",
+ "description": "Setup Cloud Print Connector.",
+ "type": "function",
+ "parameters": [
+ {
+ "name": "userEmail",
+ "type": "string",
+ "description": "The email address of the user."
+ },
+ {
+ "name": "robotEmail",
+ "type": "string",
+ "description": "The email address of the robot account."
+ },
+ {
+ "name": "credentials",
+ "type": "string",
+ "description": "The login credentials(OAuth2 Auth code)."
+ },
+ {
+ "name": "connectNewPrinters",
+ "type": "boolean",
+ "description": "True if new printers should be connected."
+ },
+ {
+ "name": "printerBlacklist",
+ "description": "Printers that should not be connected.",
+ "type": "array",
+ "items": {"type": "string"}
+ }
+ ]
+ },
+ {
+ "name": "getHostName",
+ "description": "Returns local hostname.",
+ "type": "function",
+ "parameters": [
+ {
+ "name": "callback",
+ "type": "function",
+ "description": "Called to return host name.",
+ "parameters": [
+ {
+ "name": "result",
+ "type": "string",
+ "description": "Host name."
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "getPrinters",
+ "description": "Returns local printers.",
+ "type": "function",
+ "parameters": [
+ {
+ "name": "callback",
+ "type": "function",
+ "description": "Called to return printers.",
+ "parameters": [
+ {
+ "name": "result",
+ "type": "array",
+ "items": {"type": "string"},
+ "description": "List of printer names."
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+]
« no previous file with comments | « third_party/chrome/idl/chromeos_info_private.json ('k') | third_party/chrome/idl/commands.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698