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

Unified Diff: remoting/webapp/js_proto/chrome_mocks.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 | « remoting/webapp/base/js/client_session.js ('k') | third_party/closure_compiler/externs/metrics_private.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/js_proto/chrome_mocks.js
diff --git a/remoting/webapp/js_proto/chrome_mocks.js b/remoting/webapp/js_proto/chrome_mocks.js
index 9590c7c2b780bbfb6a6a495dc4850c7d1c36d0be..542edeb31183b6c474c0663835bc411d9061a21b 100644
--- a/remoting/webapp/js_proto/chrome_mocks.js
+++ b/remoting/webapp/js_proto/chrome_mocks.js
@@ -249,6 +249,11 @@ chromeMocks.identity;
/** @constructor */
chromeMocks.MetricsPrivate = function() {};
+chromeMocks.MetricsPrivate.prototype.MetricTypeType = {
+ HISTOGRAM_LOG: 'histogram-log',
+ HISTOGRAM_LINEAR: 'histogram-linear',
+};
+
chromeMocks.MetricsPrivate.prototype.recordValue = function() {};
/** @type {chromeMocks.MetricsPrivate} */
« no previous file with comments | « remoting/webapp/base/js/client_session.js ('k') | third_party/closure_compiler/externs/metrics_private.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698