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

Unified Diff: Source/devtools/front_end/host/InspectorFrontendHost.js

Issue 1061503002: DevTools: use recordEnumeratedHistogram instead of recordActionTaken (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix inspector/user-metrics.html Created 5 years, 8 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: Source/devtools/front_end/host/InspectorFrontendHost.js
diff --git a/Source/devtools/front_end/host/InspectorFrontendHost.js b/Source/devtools/front_end/host/InspectorFrontendHost.js
index 0ccbf2dcd507df1eb1760dc6a29ca6ff19a035a4..f1f88a8e806a4901a66bb37daa6407bc53312baa 100644
--- a/Source/devtools/front_end/host/InspectorFrontendHost.js
+++ b/Source/devtools/front_end/host/InspectorFrontendHost.js
@@ -217,14 +217,11 @@ InspectorFrontendHostAPI.prototype = {
platform: function() { },
/**
+ * @param {string} actionName
* @param {number} actionCode
+ * @param {number} bucketSize
*/
- recordActionTaken: function(actionCode) { },
-
- /**
- * @param {number} panelCode
- */
- recordPanelShown: function(panelCode) { },
+ recordEnumeratedHistogram: function(actionName, actionCode, bucketSize) { },
/**
* @param {string} message
@@ -450,17 +447,11 @@ WebInspector.InspectorFrontendHostStub.prototype = {
/**
* @override
+ * @param {string} actionName
* @param {number} actionCode
+ * @param {number} bucketSize
*/
- recordActionTaken: function(actionCode)
- {
- },
-
- /**
- * @override
- * @param {number} panelCode
- */
- recordPanelShown: function(panelCode)
+ recordEnumeratedHistogram: function(actionName, actionCode, bucketSize)
{
},
« no previous file with comments | « Source/devtools/front_end/devtools_app/InspectorFrontendHostImpl.js ('k') | Source/devtools/front_end/host/UserMetrics.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698