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

Unified Diff: chrome/browser/resources/hotword/metrics.js

Issue 2346683004: Update chrome.metricsPrivate externs and make closure fixes (Closed)
Patch Set: fix file manager test Created 4 years, 3 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: chrome/browser/resources/hotword/metrics.js
diff --git a/chrome/browser/resources/hotword/metrics.js b/chrome/browser/resources/hotword/metrics.js
index 6adccb4a234f10a17a9418c72cc3fb5870d6b4e0..b17a5d7bcd14e790687f6394104874ea12224161 100644
--- a/chrome/browser/resources/hotword/metrics.js
+++ b/chrome/browser/resources/hotword/metrics.js
@@ -14,7 +14,7 @@ cr.define('hotword.metrics', function() {
function recordEnum(name, value, maxValue) {
var metricDesc = {
'metricName': name,
- 'type': 'histogram-linear',
+ 'type': chrome.metricsPrivate.MetricTypeType.HISTOGRAM_LINEAR,
'min': 1,
'max': maxValue,
'buckets': maxValue + 1
« no previous file with comments | « chrome/browser/resources/google_now/background.js ('k') | chrome/test/data/extensions/api_test/metrics/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698