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

Unified Diff: chrome/browser/resources/net_internals/main.js

Issue 7564029: Use javascript strict mode throughout a number of net-internals files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix one more var Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/net_internals/main.js
===================================================================
--- chrome/browser/resources/net_internals/main.js (revision 95298)
+++ chrome/browser/resources/net_internals/main.js (working copy)
@@ -92,12 +92,13 @@
categoryTabSwitcher.addTab('tab-handle-service-providers',
ServiceProvidersView.getInstance(),
false, cr.isWindows);
- categoryTabSwitcher.addTab('tab-handle-tests', new TestView(), false, true);
+ categoryTabSwitcher.addTab('tab-handle-tests', TestView.getInstance(),
+ false, true);
categoryTabSwitcher.addTab('tab-handle-hsts', HSTSView.getInstance(),
false, true);
categoryTabSwitcher.addTab('tab-handle-http-throttling',
HttpThrottlingView.getInstance(), false, true);
- categoryTabSwitcher.addTab('tab-handle-logs', new LogsView(), false,
+ categoryTabSwitcher.addTab('tab-handle-logs', LogsView.getInstance(), false,
cr.isChromeOS);
categoryTabSwitcher.addTab('tab-handle-prerender',
PrerenderView.getInstance(), false, true);
« no previous file with comments | « chrome/browser/resources/net_internals/logs_view.js ('k') | chrome/browser/resources/net_internals/prerender_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698