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

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: address comments 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: 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 2f6bd8e1e51268717af00d1fe3fe5fe417e430c5..3ccea3b6cf5747afa84c7f868e6d6cb1d89d3399 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) { },
+ recordUMA: 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)
+ recordUMA: function(actionName, actionCode, bucketSize)
{
},

Powered by Google App Engine
This is Rietveld 408576698