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

Unified Diff: chrome/browser/ui/browser_commands.cc

Issue 12033021: Add UMA metrics and histograms for locally managed users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/ui/browser_commands.cc
===================================================================
--- chrome/browser/ui/browser_commands.cc (revision 177135)
+++ chrome/browser/ui/browser_commands.cc (working copy)
@@ -276,6 +276,11 @@
}
}
+ if (prefs->GetBoolean(prefs::kInManagedMode)) {
+ content::RecordAction(
+ UserMetricsAction("ManagedMode_NewManagedUserWindow"));
+ }
+
if (incognito) {
content::RecordAction(UserMetricsAction("NewIncognitoWindow"));
OpenEmptyWindow(profile->GetOffTheRecordProfile(), desktop_type);

Powered by Google App Engine
This is Rietveld 408576698