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

Side by Side Diff: chrome/browser/resources/offline_pages/offline_internals_browser_proxy.js

Issue 2142703002: [Offline Pages] Showing expired pages in internal page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests. Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @typedef {{ 6 * @typedef {{
7 * onlineUrl: string, 7 * onlineUrl: string,
8 * creationTime: number, 8 * creationTime: number,
9 * id: string, 9 * id: string,
10 * namespace: string, 10 * namespace: string,
11 * size: string, 11 * size: string,
12 * filePath: string, 12 * filePath: string,
13 * lastAccessTime: number, 13 * lastAccessTime: number,
14 * accessCount: number 14 * accessCount: number,
15 * isExpired: string
15 * }} 16 * }}
16 */ 17 */
17 var OfflinePage; 18 var OfflinePage;
18 19
19 /** 20 /**
20 * @typedef {{ 21 * @typedef {{
21 * status: string, 22 * status: string,
22 * onlineUrl: string, 23 * onlineUrl: string,
23 * creationTime: number, 24 * creationTime: number,
24 * id: string, 25 * id: string,
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 getLoggingState: function() { 144 getLoggingState: function() {
144 return cr.sendWithPromise('getLoggingState'); 145 return cr.sendWithPromise('getLoggingState');
145 } 146 }
146 }; 147 };
147 148
148 return { 149 return {
149 OfflineInternalsBrowserProxy: OfflineInternalsBrowserProxy, 150 OfflineInternalsBrowserProxy: OfflineInternalsBrowserProxy,
150 OfflineInternalsBrowserProxyImpl: OfflineInternalsBrowserProxyImpl 151 OfflineInternalsBrowserProxyImpl: OfflineInternalsBrowserProxyImpl
151 }; 152 };
152 }); 153 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/offline_pages/offline_internals.js ('k') | chrome/browser/ui/webui/offline_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698