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

Side by Side Diff: chrome/browser/profiles/profile_metrics.h

Issue 591533002: Different message for offline unlock, first time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 NUM_PROFILE_TYPE_METRICS 85 NUM_PROFILE_TYPE_METRICS
86 }; 86 };
87 87
88 enum ProfileGaia { 88 enum ProfileGaia {
89 GAIA_OPT_IN = 0, // User changed to GAIA photo as avatar 89 GAIA_OPT_IN = 0, // User changed to GAIA photo as avatar
90 GAIA_OPT_OUT, // User changed to not use GAIA photo as avatar 90 GAIA_OPT_OUT, // User changed to not use GAIA photo as avatar
91 NUM_PROFILE_GAIA_METRICS 91 NUM_PROFILE_GAIA_METRICS
92 }; 92 };
93 93
94 enum ProfileAuth { 94 enum ProfileAuth {
95 AUTH_UNNECESSARY, // Profile was not locked 95 AUTH_UNNECESSARY, // Profile was not locked
96 AUTH_LOCAL, // Profile was authenticated locally 96 AUTH_LOCAL, // Profile was authenticated locally
97 AUTH_ONLINE, // Profile was authenticated on-line 97 AUTH_ONLINE, // Profile was authenticated on-line
98 AUTH_FAILED, // Profile failed authentication 98 AUTH_FAILED, // Profile failed authentication
99 AUTH_FAILED_OFFLINE, // Profile failed authentication and was offline
99 NUM_PROFILE_AUTH_METRICS 100 NUM_PROFILE_AUTH_METRICS
100 }; 101 };
101 102
102 // Enum for tracking user interactions with the user menu and user manager. 103 // Enum for tracking user interactions with the user menu and user manager.
103 // Interactions initiated from the content area are logged into a different 104 // Interactions initiated from the content area are logged into a different
104 // histogram from those that were initiated from the avatar button. 105 // histogram from those that were initiated from the avatar button.
105 // An example of the interaction beginning in the content area is 106 // An example of the interaction beginning in the content area is
106 // clicking "Manage Accounts" within account selection on a Google property. 107 // clicking "Manage Accounts" within account selection on a Google property.
107 enum ProfileDesktopMenu { 108 enum ProfileDesktopMenu {
108 // User opened the user menu, and clicked lock. 109 // User opened the user menu, and clicked lock.
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 218
218 // These functions should only be called on the UI thread because they hook 219 // These functions should only be called on the UI thread because they hook
219 // into g_browser_process through a helper function. 220 // into g_browser_process through a helper function.
220 static void LogProfileLaunch(Profile* profile); 221 static void LogProfileLaunch(Profile* profile);
221 static void LogProfileSyncSignIn(const base::FilePath& profile_path); 222 static void LogProfileSyncSignIn(const base::FilePath& profile_path);
222 static void LogProfileUpdate(const base::FilePath& profile_path); 223 static void LogProfileUpdate(const base::FilePath& profile_path);
223 }; 224 };
224 225
225 226
226 #endif // CHROME_BROWSER_PROFILES_PROFILE_METRICS_H_ 227 #endif // CHROME_BROWSER_PROFILES_PROFILE_METRICS_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/webui/signin/user_manager_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698