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

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

Issue 266353006: Add generateAppForLink function in chrome.management (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 6 years, 7 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/management.json
===================================================================
--- chrome/common/extensions/api/management.json (revision 274309)
+++ chrome/common/extensions/api/management.json (working copy)
@@ -355,6 +355,33 @@
"parameters": []
}
]
+ },
+ {
+ "name": "generateAppForLink",
+ "description": "Generate an app for a URL. Returns the generated bookmark app. Note: This function is only available to Chrome users on the dev channel.",
+ "parameters": [
+ {
+ "name": "url",
+ "type": "string",
+ "description": "The URL of a web page. The scheme of the URL can only be \"http\" or \"https\"."
+ },
+ {
+ "name": "title",
+ "type": "string",
+ "description": "The title of the generated app."
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "optional": true,
+ "parameters": [
+ {
+ "name": "result",
+ "$ref": "ExtensionInfo"
+ }
+ ]
+ }
+ ]
}
],
"events": [

Powered by Google App Engine
This is Rietveld 408576698