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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 7253001: Added a private chromeAuthPrivate API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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
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.
+ }
+ ]
+ }
+ ]
+ }
+ ]
}
]

Powered by Google App Engine
This is Rietveld 408576698