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

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

Issue 296003016: Fix the documentation and add Device.deviceName in sessions API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « chrome/browser/extensions/api/sessions/sessions_apitest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/sessions.json
diff --git a/chrome/common/extensions/api/sessions.json b/chrome/common/extensions/api/sessions.json
index 9362c4cca234f68903f972ff88d6815abf02be94..81f41b598060be1b183847e1d0c81371dddac80c 100644
--- a/chrome/common/extensions/api/sessions.json
+++ b/chrome/common/extensions/api/sessions.json
@@ -33,7 +33,8 @@
"id": "Device",
"type": "object",
"properties": {
- "info": {"type": "string", "description": "Represents all information about a foreign device."},
+ "info": {"type": "string", "nodoc": true},
+ "deviceName": {"type": "string", "description": "The name of the foreign device."},
"sessions": {"type": "array", "items": {"$ref": "Session"}, "description": "A list of open window sessions for the foreign device, sorted from most recently to least recently modified session."}
}
}
@@ -54,7 +55,7 @@
"name": "callback",
"parameters": [
{
- "name": "sessions", "type": "array", "items": { "$ref": "Session" }, "description": "The list of closed entries in reverse order that they were closed (the most recently closed tab or window will be at index <code>0</code>).The entries may contain either tabs or windows."
+ "name": "sessions", "type": "array", "items": { "$ref": "Session" }, "description": "The list of closed entries in reverse order that they were closed (the most recently closed tab or window will be at index <code>0</code>). The entries may contain either tabs or windows."
}
]
}
« no previous file with comments | « chrome/browser/extensions/api/sessions/sessions_apitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698