summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/print_preview/search/destination_search.js
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/resources/print_preview/search/destination_search.js')
-rw-r--r--chromium/chrome/browser/resources/print_preview/search/destination_search.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/chrome/browser/resources/print_preview/search/destination_search.js b/chromium/chrome/browser/resources/print_preview/search/destination_search.js
index 0922bca647f..f16cb101d6d 100644
--- a/chromium/chrome/browser/resources/print_preview/search/destination_search.js
+++ b/chromium/chrome/browser/resources/print_preview/search/destination_search.js
@@ -148,6 +148,9 @@ cr.define('print_preview', function() {
if (getIsVisible(this.getChildElement('.cloudprint-promo'))) {
this.metrics_.record(
print_preview.Metrics.DestinationSearchBucket.SIGNIN_PROMPT);
+ chrome.send(
+ 'metricsHandler:recordAction',
+ ['Signin_Impression_FromCloudPrint']);
}
if (this.userInfo_.initialized)
this.onUsersChanged_();
@@ -179,6 +182,9 @@ cr.define('print_preview', function() {
if (this.getIsVisible()) {
this.metrics_.record(
print_preview.Metrics.DestinationSearchBucket.SIGNIN_PROMPT);
+ chrome.send(
+ 'metricsHandler:recordAction',
+ ['Signin_Impression_FromCloudPrint']);
}
this.reflowLists_();
},