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

Unified Diff: chrome/browser/resources/task_manager/measure_time.js

Issue 101013004: Delete the WebUI implementation of the task manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build Created 6 years, 11 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/task_manager/measure_time.js
diff --git a/chrome/browser/resources/task_manager/measure_time.js b/chrome/browser/resources/task_manager/measure_time.js
deleted file mode 100644
index 747452a1836727d179328a1faeaf09bca87d7870..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/task_manager/measure_time.js
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-/**
- * @fileoverview Utility methods for measuring loading times.
- *
- * To be included as a first script in main.html
- */
-
-/**
- * measureTime class
- * @constructor
- */
-var measureTime = {
- isEnabled: localStorage.measureTimeEnabled,
-
- startInterval: function(name) {
- if (this.isEnabled)
- console.time(name);
- },
-
- recordInterval: function(name) {
- if (this.isEnabled)
- console.timeEnd(name);
- },
-};
-
-measureTime.startInterval('Load.Total');
-measureTime.startInterval('Load.Script');
« no previous file with comments | « chrome/browser/resources/task_manager/main.js ('k') | chrome/browser/resources/task_manager/measure_time_end.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698