OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_PROFILES_PROFILE_METRICS_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_METRICS_H_ |
6 #define CHROME_BROWSER_PROFILES_PROFILE_METRICS_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_METRICS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
54 SECONDARY, // Refers to a user-created profile | 54 SECONDARY, // Refers to a user-created profile |
55 NUM_PROFILE_TYPE_METRICS | 55 NUM_PROFILE_TYPE_METRICS |
56 }; | 56 }; |
57 | 57 |
58 enum ProfileGaia { | 58 enum ProfileGaia { |
59 GAIA_OPT_IN = 0, // User changed to GAIA photo as avatar | 59 GAIA_OPT_IN = 0, // User changed to GAIA photo as avatar |
60 GAIA_OPT_OUT, // User changed to not use GAIA photo as avatar | 60 GAIA_OPT_OUT, // User changed to not use GAIA photo as avatar |
61 NUM_PROFILE_GAIA_METRICS | 61 NUM_PROFILE_GAIA_METRICS |
62 }; | 62 }; |
63 | 63 |
64 enum ProfileTime { | |
jar (doing other things)
2011/12/09 04:57:13
I'm confused by the name here. This has nothing t
Miranda Callahan
2011/12/09 14:01:02
Ditto -- I vote for "ProfileEvents", and the enum
rpetterson
2011/12/09 21:22:09
Yes, thanks, jar. These make a lot more sense are
| |
65 TIME_STARTUP = 0, | |
66 TIME_ADD, | |
67 TIME_DELETE | |
68 }; | |
69 | |
64 static void LogProfileAvatarSelection(size_t icon_index); | 70 static void LogProfileAvatarSelection(size_t icon_index); |
65 static void LogProfileOpenMethod(ProfileOpen metric); | 71 static void LogProfileOpenMethod(ProfileOpen metric); |
66 static void LogProfileAddNewUser(ProfileAdd metric); | 72 static void LogProfileAddNewUser(ProfileAdd metric); |
67 static void LogProfileSwitchUser(ProfileOpen metric); | 73 static void LogProfileSwitchUser(ProfileOpen metric); |
68 static void LogProfileDeleteUser(ProfileNetUserCounts metric); | 74 static void LogProfileDeleteUser(ProfileNetUserCounts metric); |
69 static void LogProfileSyncInfo(ProfileSync metric); | 75 static void LogProfileSyncInfo(ProfileSync metric); |
70 static void LogProfileUpdate(FilePath& profile_path); | 76 static void LogProfileUpdate(FilePath& profile_path); |
71 static void LogProfileSyncSignIn(FilePath& profile_path); | 77 static void LogProfileSyncSignIn(FilePath& profile_path); |
72 static void LogProfileSwitchGaia(ProfileGaia metric); | 78 static void LogProfileSwitchGaia(ProfileGaia metric); |
79 static void LogProfileLaunch(FilePath& profile_path); | |
80 static void LogNumberOfProfiles(ProfileTime startup); | |
Miranda Callahan
2011/12/09 14:01:02
Maybe this list should be in alpha-order so they'r
rpetterson
2011/12/09 21:22:09
:) All set. And rearranged to match in the .cc fil
| |
73 }; | 81 }; |
74 | 82 |
75 | 83 |
76 #endif // CHROME_BROWSER_PROFILES_PROFILE_METRICS_H_ | 84 #endif // CHROME_BROWSER_PROFILES_PROFILE_METRICS_H_ |
OLD | NEW |