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

Unified Diff: chrome/browser/resources/options/chromeos/accounts_options.html

Issue 335953002: Add UMA stats for user settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 6 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/options/chromeos/accounts_options.html
diff --git a/chrome/browser/resources/options/chromeos/accounts_options.html b/chrome/browser/resources/options/chromeos/accounts_options.html
index 5d70dcfafb78b687ba5e25a9e7e50f81c98e3830..7d515babac7838ae2a218de9cfd0cc8ae8960804 100644
--- a/chrome/browser/resources/options/chromeos/accounts_options.html
+++ b/chrome/browser/resources/options/chromeos/accounts_options.html
@@ -12,8 +12,10 @@
<td class="option-name">
<div class="checkbox">
<label>
- <input id="allowBwsiCheck" pref="cros.accounts.allowBWSI"
- type="checkbox">
+ <input id="allowBwsiCheck"
+ metric="Options_EnableGuestBrowsing"
+ pref="cros.accounts.allowBWSI"
+ type="checkbox">
michaelpg 2014/06/13 23:15:43 nit: You could fit this and the ones below in 2-3
stevenjb 2014/06/16 21:58:10 I moved type next to id for brevity but I prefer t
<span i18n-content="allow_BWSI"></span>
</label>
</div>
@@ -24,7 +26,9 @@
<div class="checkbox">
<label>
<input id="allowSupervisedCheck"
- pref="cros.accounts.supervisedUsersEnabled" type="checkbox">
+ metric="Options_EnableSupervisedUsers"
+ pref="cros.accounts.supervisedUsersEnabled"
+ type="checkbox">
<span i18n-content="allow_supervised_users"></span>
</label>
</div>
@@ -35,7 +39,9 @@
<div class="checkbox">
<label>
<input id="showUserNamesCheck"
- pref="cros.accounts.showUserNamesOnSignIn" type="checkbox">
+ metric="Options_ShowUserNamesOnSignin"
+ pref="cros.accounts.showUserNamesOnSignIn"
+ type="checkbox">
<span i18n-content="show_user_on_signin"></span>
</label>
</div>
@@ -45,8 +51,10 @@
<td class="option-name">
<div class="checkbox">
<label>
- <input id="useWhitelistCheck" pref="cros.accounts.allowGuest"
- type="checkbox" inverted_pref>
+ <input id="useWhitelistCheck"
+ metric="Options_RestrictUsers"
+ pref="cros.accounts.allowGuest"
+ type="checkbox" inverted_pref>
michaelpg 2014/06/13 23:15:43 This is an inverted_pref, which changes the value
stevenjb 2014/06/16 21:58:10 Done.
<span i18n-content="use_whitelist"></span>
</label>
</div>

Powered by Google App Engine
This is Rietveld 408576698