Chromium Code Reviews| Index: components/chrome_apps/webstore_widget/cws_widget/cws_widget_container.js |
| diff --git a/components/chrome_apps/webstore_widget/cws_widget/cws_widget_container.js b/components/chrome_apps/webstore_widget/cws_widget/cws_widget_container.js |
| index b8673abdfe31df3d5b85c5c9d591ed1d669b479c..14554b7cc422436b2afbad45ba06cf63858fbc3e 100644 |
| --- a/components/chrome_apps/webstore_widget/cws_widget/cws_widget_container.js |
| +++ b/components/chrome_apps/webstore_widget/cws_widget/cws_widget_container.js |
| @@ -923,7 +923,7 @@ CWSWidgetContainer.MetricsRecorder.INSTALL = { |
| */ |
| CWSWidgetContainer.MetricsRecorder.prototype.recordLoad = function(result) { |
| if (0 <= result && result < 3) |
| - this.metricsImpl_.recordEnum('SuggestApps.Load', result, 3); |
| + this.metricsImpl_.recordEnum('Load', result, 3); |
|
Ilya Sherman
2015/06/25 21:40:30
Hmm, why did you change this code?
tbarzic
2015/06/25 22:31:09
This is used by File Manager app and Webstore Widg
Ilya Sherman
2015/06/25 22:36:31
I see. I think I understand now what the code use
|
| }; |
| /** |
| @@ -933,7 +933,7 @@ CWSWidgetContainer.MetricsRecorder.prototype.recordLoad = function(result) { |
| CWSWidgetContainer.MetricsRecorder.prototype.recordCloseDialog = function( |
| reason) { |
| if (0 <= reason && reason < 4) |
| - this.metricsImpl_.recordEnum('SuggestApps.CloseDialog', reason, 4); |
| + this.metricsImpl_.recordEnum('CloseDialog', reason, 4); |
| }; |
| /** |
| @@ -942,17 +942,17 @@ CWSWidgetContainer.MetricsRecorder.prototype.recordCloseDialog = function( |
| */ |
| CWSWidgetContainer.MetricsRecorder.prototype.recordInstall = function(result) { |
| if (0 <= result && result < 3) |
| - this.metricsImpl_.recordEnum('SuggestApps.Install', result, 3); |
| + this.metricsImpl_.recordEnum('Install', result, 3); |
| }; |
| CWSWidgetContainer.MetricsRecorder.prototype.recordShowDialog = function() { |
| - this.metricsImpl_.recordUserAction('SuggestApps.ShowDialog'); |
| + this.metricsImpl_.recordUserAction('ShowDialog'); |
| }; |
| CWSWidgetContainer.MetricsRecorder.prototype.startLoad = function() { |
| - this.metricsImpl_.startInterval('SuggestApps.LoadTime'); |
| + this.metricsImpl_.startInterval('LoadTime'); |
| }; |
| CWSWidgetContainer.MetricsRecorder.prototype.finishLoad = function() { |
| - this.metricsImpl_.recordInterval('SuggestApps.LoadTime'); |
| + this.metricsImpl_.recordInterval('LoadTime'); |
| }; |