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

Unified Diff: chrome/browser/resources/offline_pages/offline_internals.js

Issue 2103383003: Fix chrome://offline-internal page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated type declaration Created 4 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/offline_pages/offline_internals.js
diff --git a/chrome/browser/resources/offline_pages/offline_internals.js b/chrome/browser/resources/offline_pages/offline_internals.js
index d663460290d355fbde4fa5fd4fc463d29c851eec..b4690eec480ec2c6b14105163637b3fbd77d123f 100644
--- a/chrome/browser/resources/offline_pages/offline_internals.js
+++ b/chrome/browser/resources/offline_pages/offline_internals.js
@@ -11,8 +11,9 @@ cr.define('offlineInternals', function() {
/** @type {!Array<SavePageRequest>} */
var savePageRequests = [];
- /** @type {offlineInternals.OfflineInternalsBrowserProxy} */
- var browserProxy_;
+ /** @type {!offlineInternals.OfflineInternalsBrowserProxy} */
+ var browserProxy_ =
+ offlineInternals.OfflineInternalsBrowserProxyImpl.getInstance();
/**
* Fill stored pages table.
@@ -181,8 +182,6 @@ cr.define('offlineInternals', function() {
$('log-request-off').onclick =
browserProxy_.setRecordRequestQueue.bind(browserProxy_, false);
$('refresh-logs').onclick = refreshLog;
- browserProxy_ =
- offlineInternals.OfflineInternalsBrowserProxyImpl.getInstance();
refreshAll();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698