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

Unified Diff: remoting/webapp/base/js/client_session.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
« no previous file with comments | « components/chrome_apps/webstore_widget/app/main.js ('k') | remoting/webapp/js_proto/chrome_mocks.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/client_session.js
diff --git a/remoting/webapp/base/js/client_session.js b/remoting/webapp/base/js/client_session.js
index 623d52e7e0505b36ea7a72be01c43d43d61bbc80..8d02310114fac7717554463c8c645dec3dc76e0c 100644
--- a/remoting/webapp/base/js/client_session.js
+++ b/remoting/webapp/base/js/client_session.js
@@ -603,7 +603,7 @@ function recordState(state) {
var metricDescription = {
metricName: 'Chromoting.Connections',
- type: 'histogram-linear',
+ type: chrome.metricsPrivate.MetricTypeType.HISTOGRAM_LINEAR,
// According to histogram.h, minimum should be 1. Values less than minimum
// end up in the 0th bucket.
min: 1,
« no previous file with comments | « components/chrome_apps/webstore_widget/app/main.js ('k') | remoting/webapp/js_proto/chrome_mocks.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698