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

Unified Diff: ui/file_manager/file_manager/common/js/test_tracker.js

Issue 1008723004: Add support for reporting history load with counts + timing + a 'multi-machine' dimension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: ui/file_manager/file_manager/common/js/test_tracker.js
diff --git a/ui/file_manager/file_manager/common/js/test_tracker.js b/ui/file_manager/file_manager/common/js/test_tracker.js
index a33afd784cba8cc2090eb1eb302e77250f609e41..2946a87a91affef3a60474892306d9676b182651 100644
--- a/ui/file_manager/file_manager/common/js/test_tracker.js
+++ b/ui/file_manager/file_manager/common/js/test_tracker.js
@@ -71,4 +71,8 @@ TestTracker.prototype.forceSessionStart = function() {};
* @param {number=} opt_sampleRate
* @return {!TestTracker.Timing}
*/
-TestTracker.prototype.startTiming = function() {};
+TestTracker.prototype.startTiming = function() {
+ return /** @type {!TestTracker.Timing} */ ({
+ send: function() {}
+ });
+};

Powered by Google App Engine
This is Rietveld 408576698