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

Side by Side Diff: ash/common/multi_profile_uma.cc

Issue 2126963002: mash: Move multi_profile_uma.* to ash/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. Created 4 years, 5 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/common/multi_profile_uma.h ('k') | ash/multi_profile_uma.h » ('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/multi_profile_uma.h" 5 #include "ash/common/multi_profile_uma.h"
6 6
7 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram.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/common/multi_profile_uma.h ('k') | ash/multi_profile_uma.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698