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

Unified Diff: chrome/browser/resources/print_preview/print_preview.js

Issue 189623004: UMA Histograms for Register Promos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/print_preview/print_preview.js
diff --git a/chrome/browser/resources/print_preview/print_preview.js b/chrome/browser/resources/print_preview/print_preview.js
index 471d2a3d74e5115404277a25c4481d7c80ea658d..94a4445f2821914d33ee578a14700544086d9148 100644
--- a/chrome/browser/resources/print_preview/print_preview.js
+++ b/chrome/browser/resources/print_preview/print_preview.js
@@ -704,6 +704,8 @@ cr.define('print_preview', function() {
* @private
*/
onCloudPrintRegisterPromoClick_: function(e) {
+ this.metrics_.incrementDestinationSearchBucket(
+ print_preview.Metrics.DestinationSearchBucket.REGISTER_PROMO_SELECTED);
var devicesUrl = 'chrome://devices/register?id=' + e.destination.id;
this.nativeLayer_.startForceOpenNewTab(devicesUrl);
this.destinationStore_.waitForRegister(e.destination.id);
« no previous file with comments | « chrome/browser/resources/print_preview/metrics.js ('k') | chrome/browser/resources/print_preview/search/destination_search.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698