Index: chrome/browser/resources/print_preview/search/destination_search.js |
diff --git a/chrome/browser/resources/print_preview/search/destination_search.js b/chrome/browser/resources/print_preview/search/destination_search.js |
index cf3a08a1d6aae6f0f094ff4e22d14f008d7c2b8b..2e203019797859f9fd7a9c65d0d3417499b804d9 100644 |
--- a/chrome/browser/resources/print_preview/search/destination_search.js |
+++ b/chrome/browser/resources/print_preview/search/destination_search.js |
@@ -661,6 +661,9 @@ cr.define('print_preview', function() { |
* @private |
*/ |
onInvitationProcessButtonClick_: function(accept) { |
+ this.metrics_.record(accept ? |
+ print_preview.Metrics.DestinationSearchBucket.INVITATION_ACCEPTED : |
+ print_preview.Metrics.DestinationSearchBucket.INVITATION_REJECTED); |
this.invitationStore_.processInvitation(this.invitation_, accept); |
this.updateInvitations_(); |
}, |