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

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

Issue 777143003: Clean up straggler classes to use embedded signin in page in the new profiles world. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: alexei & peter nits Created 6 years 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
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "chrome/browser/signin/signin_header_helper.h" 12 #include "chrome/browser/signin/signin_header_helper.h"
13 #include "chrome/browser/signin/signin_promo.h"
13 14
14 class Profile; 15 class Profile;
15 class ProfileManager; 16 class ProfileManager;
16 17
17 namespace base { 18 namespace base {
18 class FilePath; 19 class FilePath;
19 } 20 }
20 21
21 class ProfileMetrics { 22 class ProfileMetrics {
22 public: 23 public:
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 static void LogProfileAndroidAccountManagementMenu( 223 static void LogProfileAndroidAccountManagementMenu(
223 ProfileAndroidAccountManagementMenu metric, 224 ProfileAndroidAccountManagementMenu metric,
224 signin::GAIAServiceType gaia_service); 225 signin::GAIAServiceType gaia_service);
225 #endif // defined(OS_ANDROID) 226 #endif // defined(OS_ANDROID)
226 227
227 // These functions should only be called on the UI thread because they hook 228 // These functions should only be called on the UI thread because they hook
228 // into g_browser_process through a helper function. 229 // into g_browser_process through a helper function.
229 static void LogProfileLaunch(Profile* profile); 230 static void LogProfileLaunch(Profile* profile);
230 static void LogProfileSyncSignIn(const base::FilePath& profile_path); 231 static void LogProfileSyncSignIn(const base::FilePath& profile_path);
231 static void LogProfileUpdate(const base::FilePath& profile_path); 232 static void LogProfileUpdate(const base::FilePath& profile_path);
233
234 // Logs the original source that showed the signin page.
235 static void LogSigninSource(signin::Source source);
232 }; 236 };
233 237
234 238
235 #endif // CHROME_BROWSER_PROFILES_PROFILE_METRICS_H_ 239 #endif // CHROME_BROWSER_PROFILES_PROFILE_METRICS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_metrics.cc » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698