Index: chrome/common/extensions/api/extension_api.json |
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json |
index d507be19a632f916dd739361dde37adda10d8275..929d0eb95a7caddf423c0e360126a16efa8bde33 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -6170,5 +6170,47 @@ |
] |
} |
] |
+ }, |
+ { |
+ "namespace": "chromeAuthPrivate", |
+ "nodoc": "true", |
+ "functions": [ |
+ { |
+ "name": "setCloudPrintCredentials", |
+ "description": "Sets the login credentials for Cloud Print.", |
+ "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": "callback", |
+ "type": "function", |
+ "description": "Called when a failure happens. Called upon success only in tests.", |
+ "optional": "true", |
+ "parameters": [ |
+ { |
+ "name": "result", |
+ "type": "string", |
+ "description": "A string result code. The value is non-empty on success only in tests.", |
+ "optional": "true" |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
} |
] |