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

Unified Diff: chrome/browser/resources/settings/people_page/setup_pin_dialog.js

Issue 2313103002: Added uma for pin unlock set up. (Closed)
Patch Set: 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
Index: chrome/browser/resources/settings/people_page/setup_pin_dialog.js
diff --git a/chrome/browser/resources/settings/people_page/setup_pin_dialog.js b/chrome/browser/resources/settings/people_page/setup_pin_dialog.js
index f299a0eaea31aeff60d99f087c958cead71f0664..0fc7ee0758ebdc2f053e2db570ab8fbbc62af827 100644
--- a/chrome/browser/resources/settings/people_page/setup_pin_dialog.js
+++ b/chrome/browser/resources/settings/people_page/setup_pin_dialog.js
@@ -204,6 +204,9 @@ Polymer({
this.isConfirmStep_ = true;
this.onPinChange_();
this.$.pinKeyboard.focus();
+ chrome.send('metricsHandler:recordInHistogram',
+ [PinUnlockUmaHistogramName, PinUnlockSetupType.ENTER_PIN,
+ PinUnlockSetupType.MAX_BUCKET]);
}
} else {
// onPinSubmit_ gets called if the user hits enter on the PIN keyboard.
@@ -226,6 +229,9 @@ Polymer({
[chrome.quickUnlockPrivate.QuickUnlockMode.PIN],
[this.pinKeyboardValue_],
onSetModesCompleted.bind(this));
+ chrome.send('metricsHandler:recordInHistogram',
jdufault 2016/09/13 18:36:05 fix indentation
sammiequon 2016/09/13 19:21:40 Done.
+ [PinUnlockUmaHistogramName, PinUnlockSetupType.CONFIRM_PIN,
+ PinUnlockSetupType.MAX_BUCKET]);
}
},

Powered by Google App Engine
This is Rietveld 408576698