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 "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
11 #include "base/profiler/stack_sampling_profiler.h" | 11 #include "base/profiler/stack_sampling_profiler.h" |
12 #include "base/tracked_objects.h" | 12 #include "base/tracked_objects.h" |
| 13 #include "build/build_config.h" |
13 #include "chrome/browser/chrome_browser_field_trials.h" | 14 #include "chrome/browser/chrome_browser_field_trials.h" |
14 #include "chrome/browser/chrome_process_singleton.h" | 15 #include "chrome/browser/chrome_process_singleton.h" |
15 #include "chrome/browser/first_run/first_run.h" | 16 #include "chrome/browser/first_run/first_run.h" |
16 #include "chrome/browser/process_singleton.h" | 17 #include "chrome/browser/process_singleton.h" |
17 #include "chrome/browser/stack_sampling_configuration.h" | 18 #include "chrome/browser/stack_sampling_configuration.h" |
18 #include "chrome/browser/ui/startup/startup_browser_creator.h" | 19 #include "chrome/browser/ui/startup/startup_browser_creator.h" |
19 #include "content/public/browser/browser_main_parts.h" | 20 #include "content/public/browser/browser_main_parts.h" |
20 #include "content/public/common/main_function_params.h" | 21 #include "content/public/common/main_function_params.h" |
21 | 22 |
22 class BrowserProcessImpl; | 23 class BrowserProcessImpl; |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 PrefService* local_state_; | 192 PrefService* local_state_; |
192 base::FilePath user_data_dir_; | 193 base::FilePath user_data_dir_; |
193 | 194 |
194 // Members needed across shutdown methods. | 195 // Members needed across shutdown methods. |
195 bool restart_last_session_; | 196 bool restart_last_session_; |
196 | 197 |
197 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); | 198 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); |
198 }; | 199 }; |
199 | 200 |
200 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ | 201 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
OLD | NEW |