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_CHROME_BROWSER_MAIN_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ | 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/metrics/field_trial.h" | 12 #include "base/metrics/field_trial.h" |
13 #include "base/profiler/stack_sampling_profiler.h" | 13 #include "base/profiler/stack_sampling_profiler.h" |
14 #include "base/tracked_objects.h" | 14 #include "base/tracked_objects.h" |
15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
16 #include "chrome/browser/chrome_browser_field_trials.h" | 16 #include "chrome/browser/chrome_browser_field_trials.h" |
17 #include "chrome/browser/chrome_process_singleton.h" | 17 #include "chrome/browser/chrome_process_singleton.h" |
18 #include "chrome/browser/first_run/first_run.h" | 18 #include "chrome/browser/first_run/first_run.h" |
19 #include "chrome/browser/power_usage_monitor/power_usage_monitor.h" | 19 #include "chrome/browser/power_usage_monitor/power_usage_monitor.h" |
20 #include "chrome/browser/process_singleton.h" | 20 #include "chrome/browser/process_singleton.h" |
21 #include "chrome/browser/ui/startup/startup_browser_creator.h" | 21 #include "chrome/browser/ui/startup/startup_browser_creator.h" |
22 #include "chrome/common/stack_sampling_configuration.h" | 22 #include "chrome/common/stack_sampling_configuration.h" |
23 #include "content/public/browser/browser_main_parts.h" | 23 #include "content/public/browser/browser_main_parts.h" |
24 #include "content/public/common/main_function_params.h" | 24 #include "content/public/common/main_function_params.h" |
25 | 25 |
26 class BrowserProcessImpl; | 26 class BrowserProcessImpl; |
27 class ChromeBrowserMainExtraParts; | 27 class ChromeBrowserMainExtraParts; |
28 class FieldTrialSynchronizer; | 28 class FieldTrialSynchronizer; |
29 class MetricsService; | |
30 class PrefService; | 29 class PrefService; |
31 class ProcessPowerCollector; | 30 class ProcessPowerCollector; |
32 class Profile; | 31 class Profile; |
33 class StartupBrowserCreator; | 32 class StartupBrowserCreator; |
34 class StartupTimeBomb; | 33 class StartupTimeBomb; |
35 class ShutdownWatcherHelper; | 34 class ShutdownWatcherHelper; |
36 class ThreeDAPIObserver; | 35 class ThreeDAPIObserver; |
37 class WebUsbDetector; | 36 class WebUsbDetector; |
38 | 37 |
39 namespace chrome_browser { | 38 namespace chrome_browser { |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 197 |
199 // Members initialized in PreMainMessageLoopRun, needed in | 198 // Members initialized in PreMainMessageLoopRun, needed in |
200 // PreMainMessageLoopRunThreadsCreated. | 199 // PreMainMessageLoopRunThreadsCreated. |
201 PrefService* local_state_; | 200 PrefService* local_state_; |
202 base::FilePath user_data_dir_; | 201 base::FilePath user_data_dir_; |
203 | 202 |
204 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); | 203 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); |
205 }; | 204 }; |
206 | 205 |
207 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ | 206 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
OLD | NEW |