Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ash/multi_profile_uma.h" | |
| 6 | |
| 7 #include "base/metrics/histogram.h" | |
| 8 | |
| 9 namespace { | |
| 10 | |
| 11 | |
| 12 } // namespace | |
|
oshima
2013/09/28 11:45:19
remove empty namespace block?
Tim Song
2013/09/30 17:19:39
Done.
| |
| 13 | |
| 14 namespace ash { | |
| 15 | |
| 16 MultiProfileUMA::MultiProfileUMA() {} | |
| 17 | |
| 18 MultiProfileUMA::~MultiProfileUMA() {} | |
| 19 | |
| 20 // static | |
| 21 void MultiProfileUMA::RecordSwitchActiveUser(SwitchActiveUserAction action) { | |
| 22 UMA_HISTOGRAM_ENUMERATION("MultiProfile.SwitchActiveUserUIPath", | |
| 23 action, | |
| 24 NUM_SWITCH_ACTIVE_USER_ACTIONS); | |
| 25 } | |
| 26 | |
| 27 // static | |
| 28 void MultiProfileUMA::RecordSigninUser(SigninUserAction action) { | |
| 29 UMA_HISTOGRAM_ENUMERATION("MultiProfile.SigninUserUIPath", | |
| 30 action, | |
| 31 NUM_SIGNIN_USER_ACTIONS); | |
| 32 } | |
| 33 | |
| 34 } // namespace ash | |
| OLD | NEW |