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

Side by Side Diff: ash/multi_profile_uma.h

Issue 180243025: Changing the UsersPerSession UMA metric to only count possible multi profile sessions and do this u… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 | Annotate | Revision Log
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 #ifndef ASH_MULTI_PROFILE_UMA_H_ 5 #ifndef ASH_MULTI_PROFILE_UMA_H_
6 #define ASH_MULTI_PROFILE_UMA_H_ 6 #define ASH_MULTI_PROFILE_UMA_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // Record switching the active user and what UI path was taken. 63 // Record switching the active user and what UI path was taken.
64 static void RecordSwitchActiveUser(SwitchActiveUserAction action); 64 static void RecordSwitchActiveUser(SwitchActiveUserAction action);
65 65
66 // Record the type of window which got teleported to another desk. 66 // Record the type of window which got teleported to another desk.
67 static void RecordTeleportWindowType(TeleportWindowType window_type); 67 static void RecordTeleportWindowType(TeleportWindowType window_type);
68 68
69 // Record the way and how many times a window got teleported to another desk. 69 // Record the way and how many times a window got teleported to another desk.
70 static void RecordTeleportAction(TeleportWindowAction action); 70 static void RecordTeleportAction(TeleportWindowAction action);
71 71
72 // Record number of users joined into a session. Called upon logout. 72 // Record number of users joined into a session. Called every time a user gets
73 // added.
73 static void RecordUserCount(int number_of_users); 74 static void RecordUserCount(int number_of_users);
74 75
75 // Record a discarded tab in the number of running users bucket. 76 // Record a discarded tab in the number of running users bucket.
76 static void RecordDiscardedTab(int number_of_users); 77 static void RecordDiscardedTab(int number_of_users);
77 78
78 private: 79 private:
79 DISALLOW_IMPLICIT_CONSTRUCTORS(MultiProfileUMA); 80 DISALLOW_IMPLICIT_CONSTRUCTORS(MultiProfileUMA);
80 }; 81 };
81 82
82 } // namespace ash 83 } // namespace ash
83 84
84 #endif // ASH_MULTI_PROFILE_UMA_H_ 85 #endif // ASH_MULTI_PROFILE_UMA_H_
OLDNEW
« no previous file with comments | « no previous file | ash/multi_profile_uma.cc » ('j') | chrome/browser/chromeos/login/user_manager_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698