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

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

Issue 8631017: Change the first parameter of savePage.saveAsMHTML to be a dictionary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Applied Antony's suggestions Created 9 years, 1 month 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 1fb9a7d955f1e5f003e803e817b6eba1ed0a5068..4ded7d2b45c4d86ed975dec35ac0b31ce808858f 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -9062,13 +9062,18 @@
{
"name": "saveAsMHTML",
"type": "function",
- "description": "Saves the content of the tab with given id to MHTML.",
+ "description": "Saves the content of the tab with given id as MHTML.",
"parameters": [
{
- "name": "tabId",
- "type": "integer",
- "minimum": 0,
- "description": "The id of the tab to save."
+ "name": "details",
+ "type": "object",
+ "properties": {
+ "tabId": {
+ "type": "integer",
+ "minimum": 0,
+ "description": "The id of the tab to save as MHTML."
+ }
+ }
},
{
"name": "callback",
« no previous file with comments | « chrome/browser/extensions/extension_save_page_api.cc ('k') | chrome/common/extensions/docs/experimental.savePage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698