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

Side by Side Diff: ash/multi_profile_uma.cc

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « ash/multi_profile_uma.h ('k') | ash/mus/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/common/multi_profile_uma.h" 5 #include "ash/multi_profile_uma.h"
6 6
7 #include "base/metrics/histogram_macros.h" 7 #include "base/metrics/histogram_macros.h"
8 8
9 namespace ash { 9 namespace ash {
10 10
11 // static 11 // static
12 void MultiProfileUMA::RecordSessionMode(SessionMode action) { 12 void MultiProfileUMA::RecordSessionMode(SessionMode action) {
13 UMA_HISTOGRAM_ENUMERATION("MultiProfile.SessionMode", action, 13 UMA_HISTOGRAM_ENUMERATION("MultiProfile.SessionMode", action,
14 NUM_SESSION_MODES); 14 NUM_SESSION_MODES);
15 } 15 }
(...skipping 28 matching lines...) Expand all
44 number_of_users); 44 number_of_users);
45 } 45 }
46 46
47 // static 47 // static
48 void MultiProfileUMA::RecordDiscardedTab(int number_of_users) { 48 void MultiProfileUMA::RecordDiscardedTab(int number_of_users) {
49 UMA_HISTOGRAM_COUNTS_100("MultiProfile.DiscardedTabsPerUser", 49 UMA_HISTOGRAM_COUNTS_100("MultiProfile.DiscardedTabsPerUser",
50 number_of_users); 50 number_of_users);
51 } 51 }
52 52
53 } // namespace ash 53 } // namespace ash
OLDNEW
« no previous file with comments | « ash/multi_profile_uma.h ('k') | ash/mus/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698