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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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": "cloudPrintPrivate",
8 "nodoc": "true",
9 "functions": [
10 {
11 "name": "setupConnector",
12 "description": "Setup Cloud Print Connector.",
13 "type": "function",
14 "parameters": [
15 {
16 "name": "userEmail",
17 "type": "string",
18 "description": "The email address of the user."
19 },
20 {
21 "name": "robotEmail",
22 "type": "string",
23 "description": "The email address of the robot account."
24 },
25 {
26 "name": "credentials",
27 "type": "string",
28 "description": "The login credentials(OAuth2 Auth code)."
29 },
30 {
31 "name": "connectNewPrinters",
32 "type": "boolean",
33 "description": "True if new printers should be connected."
34 },
35 {
36 "name": "printerBlacklist",
37 "description": "Printers that should not be connected.",
38 "type": "array",
39 "items": {"type": "string"}
40 }
41 ]
42 },
43 {
44 "name": "getHostName",
45 "description": "Returns local hostname.",
46 "type": "function",
47 "parameters": [
48 {
49 "name": "callback",
50 "type": "function",
51 "description": "Called to return host name.",
52 "parameters": [
53 {
54 "name": "result",
55 "type": "string",
56 "description": "Host name."
57 }
58 ]
59 }
60 ]
61 },
62 {
63 "name": "getPrinters",
64 "description": "Returns local printers.",
65 "type": "function",
66 "parameters": [
67 {
68 "name": "callback",
69 "type": "function",
70 "description": "Called to return printers.",
71 "parameters": [
72 {
73 "name": "result",
74 "type": "array",
75 "items": {"type": "string"},
76 "description": "List of printer names."
77 }
78 ]
79 }
80 ]
81 }
82 ]
83 }
84 ]
OLDNEW
« 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