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

Unified Diff: third_party/WebKit/Source/devtools/front_end/host/UserMetrics.js

Issue 1672243003: Revert "Devtools: Add metrics for drawer views being shown" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: third_party/WebKit/Source/devtools/front_end/host/UserMetrics.js
diff --git a/third_party/WebKit/Source/devtools/front_end/host/UserMetrics.js b/third_party/WebKit/Source/devtools/front_end/host/UserMetrics.js
index 093bac74e69db9d9d7581d046ac88d213f9f8696..a8a545f0c978f6bea31a06043ef017c63f726c1a 100644
--- a/third_party/WebKit/Source/devtools/front_end/host/UserMetrics.js
+++ b/third_party/WebKit/Source/devtools/front_end/host/UserMetrics.js
@@ -72,15 +72,6 @@ WebInspector.UserMetrics._PanelCodes = {
layers: 9
}
-WebInspector.UserMetrics._DrawerCodes = {
- "console": 1,
- "animations": 2,
- "network.config": 3,
- "rendering": 4,
- "sensors": 5,
- "sources.search": 6
-}
-
WebInspector.UserMetrics.prototype = {
/**
* @param {string} panelName
@@ -93,16 +84,6 @@ WebInspector.UserMetrics.prototype = {
},
/**
- * @param {string} viewId
- */
- drawerShown: function(viewId)
- {
- var code = WebInspector.UserMetrics._DrawerCodes[viewId] || 0;
- var size = Object.keys(WebInspector.UserMetrics._DrawerCodes).length + 1;
- InspectorFrontendHost.recordEnumeratedHistogram("DevTools.DrawerShown", code, size);
- },
-
- /**
* @param {!WebInspector.UserMetrics.Action} action
*/
actionTaken: function(action)
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/components/Drawer.js ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698