Index: ash/multi_profile_uma.cc |
diff --git a/ash/multi_profile_uma.cc b/ash/multi_profile_uma.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9424d03bfbfc48b6dca14591a6acebbe458e2052 |
--- /dev/null |
+++ b/ash/multi_profile_uma.cc |
@@ -0,0 +1,34 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ash/multi_profile_uma.h" |
+ |
+#include "base/metrics/histogram.h" |
+ |
+namespace { |
+ |
+ |
+} // namespace |
oshima
2013/09/28 11:45:19
remove empty namespace block?
Tim Song
2013/09/30 17:19:39
Done.
|
+ |
+namespace ash { |
+ |
+MultiProfileUMA::MultiProfileUMA() {} |
+ |
+MultiProfileUMA::~MultiProfileUMA() {} |
+ |
+// static |
+void MultiProfileUMA::RecordSwitchActiveUser(SwitchActiveUserAction action) { |
+ UMA_HISTOGRAM_ENUMERATION("MultiProfile.SwitchActiveUserUIPath", |
+ action, |
+ NUM_SWITCH_ACTIVE_USER_ACTIONS); |
+} |
+ |
+// static |
+void MultiProfileUMA::RecordSigninUser(SigninUserAction action) { |
+ UMA_HISTOGRAM_ENUMERATION("MultiProfile.SigninUserUIPath", |
+ action, |
+ NUM_SIGNIN_USER_ACTIONS); |
+} |
+ |
+} // namespace ash |