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

Unified Diff: chrome/browser/resources/net_internals/http_throttling_view.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/http_throttling_view.js
===================================================================
--- chrome/browser/resources/net_internals/http_throttling_view.js (revision 95298)
+++ chrome/browser/resources/net_internals/http_throttling_view.js (working copy)
@@ -5,16 +5,22 @@
/**
* This view displays information related to HTTP throttling.
*/
+var HttpThrottlingView = (function() {
+ 'use strict';
-var HttpThrottlingView = (function() {
// IDs for special HTML elements in http_throttling_view.html
- const MAIN_BOX_ID = 'http-throttling-view-tab-content';
- const ENABLE_CHECKBOX_ID = 'http-throttling-view-enable-checkbox';
+ var MAIN_BOX_ID = 'http-throttling-view-tab-content';
+ var ENABLE_CHECKBOX_ID = 'http-throttling-view-enable-checkbox';
// We inherit from DivView.
var superClass = DivView;
+ /**
+ * @constructor
+ */
function HttpThrottlingView() {
+ assertFirstConstructorCall(HttpThrottlingView);
+
// Call superclass's constructor.
superClass.call(this, MAIN_BOX_ID);
« no previous file with comments | « chrome/browser/resources/net_internals/http_cache_view.js ('k') | chrome/browser/resources/net_internals/import_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698