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

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: 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..c3f261d334cea6a1bce3afc8e1f0ba64a32d9155 100644
--- a/chrome/browser/resources/offline_pages/offline_internals.js
+++ b/chrome/browser/resources/offline_pages/offline_internals.js
@@ -172,6 +172,8 @@ cr.define('offlineInternals', function() {
$('clear-selected').onclick = deleteSelectedPages;
$('refresh').onclick = refreshAll;
$('download').onclick = download;
+ browserProxy_ =
dpapad 2016/06/29 00:22:18 Is there any good reason to not initialize this at
Dmitry Titov 2016/06/29 01:01:30 Done.
+ offlineInternals.OfflineInternalsBrowserProxyImpl.getInstance();
$('log-model-on').onclick =
browserProxy_.setRecordPageModel.bind(browserProxy_, true);
$('log-model-off').onclick =
@@ -181,8 +183,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