OLD | NEW |
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" | |
12 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 12 #include "build/build_config.h" |
13 #include "components/signin/core/browser/signin_header_helper.h" | 13 #include "components/signin/core/browser/signin_header_helper.h" |
14 | 14 |
15 class Profile; | 15 class Profile; |
16 class ProfileManager; | 16 class ProfileManager; |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class FilePath; | 19 class FilePath; |
20 } | 20 } |
21 | 21 |
22 namespace profile_metrics { | 22 namespace profile_metrics { |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 | 242 |
243 // These functions should only be called on the UI thread because they hook | 243 // These functions should only be called on the UI thread because they hook |
244 // into g_browser_process through a helper function. | 244 // into g_browser_process through a helper function. |
245 static void LogProfileLaunch(Profile* profile); | 245 static void LogProfileLaunch(Profile* profile); |
246 static void LogProfileSyncSignIn(const base::FilePath& profile_path); | 246 static void LogProfileSyncSignIn(const base::FilePath& profile_path); |
247 static void LogProfileUpdate(const base::FilePath& profile_path); | 247 static void LogProfileUpdate(const base::FilePath& profile_path); |
248 }; | 248 }; |
249 | 249 |
250 | 250 |
251 #endif // CHROME_BROWSER_PROFILES_PROFILE_METRICS_H_ | 251 #endif // CHROME_BROWSER_PROFILES_PROFILE_METRICS_H_ |
OLD | NEW |