Index: chrome/browser/resources/history/externs.js |
diff --git a/chrome/browser/resources/history/externs.js b/chrome/browser/resources/history/externs.js |
index 9a4712d9ab510784b51ba462978c59319f76dbb4..123c2502abc39e8bbf3ba359b83066e255b22ef8 100644 |
--- a/chrome/browser/resources/history/externs.js |
+++ b/chrome/browser/resources/history/externs.js |
@@ -42,19 +42,6 @@ var HistoryEntry; |
var HistoryQuery; |
/** |
- * The type of the foreign session info object. This definition is based on |
- * chrome/browser/ui/webui/foreign_session_handler.cc: |
- * @typedef {{collapsed: boolean, |
- * deviceType: string, |
- * name: string, |
- * modifiedTime: string, |
- * tag: string, |
- * timestamp: number, |
- * windows: Array}} |
- */ |
-var ForeignSession; |
- |
-/** |
* The type of the foreign session tab object. This definition is based on |
* chrome/browser/ui/webui/foreign_session_handler.cc: |
* @typedef {{direction: string, |
@@ -65,3 +52,26 @@ var ForeignSession; |
* url: string}} |
*/ |
var ForeignSessionTab; |
+ |
+/** |
+ * The type of the foreign session tab object. This definition is based on |
+ * chrome/browser/ui/webui/foreign_session_handler.cc: |
+ * @typedef {{timestamp: number, |
+ * userVisibleTimestamp: string, |
+ * sessionId: number, |
+ * tabs: Array<ForeignSessionTab>}} |
+ */ |
+var ForeignSessionWindow; |
+ |
+/** |
+ * The type of the foreign session info object. This definition is based on |
+ * chrome/browser/ui/webui/foreign_session_handler.cc: |
+ * @typedef {{collapsed: boolean, |
+ * deviceType: string, |
+ * name: string, |
+ * modifiedTime: string, |
+ * tag: string, |
+ * timestamp: number, |
+ * windows: Array<ForeignSessionWindow>}} |
+ */ |
+var ForeignSession; |