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

Unified Diff: chrome/browser/resources/file_manager/js/directory_model.js

Issue 22815003: Add detailed performance histograms to Files.app. (Abandoned) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed + rebased. Created 7 years, 4 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 | chrome/browser/resources/file_manager/js/file_manager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/js/directory_model.js
diff --git a/chrome/browser/resources/file_manager/js/directory_model.js b/chrome/browser/resources/file_manager/js/directory_model.js
index 1a5030b72165321d02d3db63e8b6dfc37aff5b0d..4ec4f003a8f4ed24cb0b557224b21527102422b7 100644
--- a/chrome/browser/resources/file_manager/js/directory_model.js
+++ b/chrome/browser/resources/file_manager/js/directory_model.js
@@ -1137,11 +1137,11 @@ DirectoryModel.prototype.selectIndex = function(index) {
* @private
*/
DirectoryModel.prototype.updateRoots_ = function(opt_callback) {
- metrics.startInterval('Load.Roots');
+ metrics.startInterval('UpdateRootsTime');
DirectoryModelUtil.resolveRoots(
this.root_, this.driveEnabled_,
function(rootEntries) {
- metrics.recordInterval('Load.Roots');
+ metrics.recordInterval('UpdateRootsTime');
var rootsList = this.rootsList_;
rootsList.splice.apply(
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/file_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698