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 bcea87642e1a250dd9c4c73b12fe38cb5d53189e..c3f82302cc3e7e31cada832672e8be0c04e88857 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -6055,5 +6055,46 @@ |
] |
} |
] |
+ }, |
+ { |
+ "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 the operation has completed.", |
+ "optional": "true", |
+ "parameters": [ |
+ { |
+ "name": "result", |
+ "type": "string", |
+ "description": "A string result code, which will be empty upon success." |
Matt Perry
2011/06/24 19:11:09
if you make this optional, you can just omit it wh
sanjeevr
2011/06/24 22:38:48
You mean make the result argument optional?
Matt Perry
2011/06/24 22:44:29
right
sanjeevr
2011/06/24 23:05:26
Done.
|
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
} |
] |