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/basictypes.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" |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 // PreMainMessageLoopRunThreadsCreated. | 175 // PreMainMessageLoopRunThreadsCreated. |
176 PrefService* local_state_; | 176 PrefService* local_state_; |
177 base::FilePath user_data_dir_; | 177 base::FilePath user_data_dir_; |
178 | 178 |
179 // Members needed across shutdown methods. | 179 // Members needed across shutdown methods. |
180 bool restart_last_session_; | 180 bool restart_last_session_; |
181 | 181 |
182 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); | 182 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts); |
183 }; | 183 }; |
184 | 184 |
| 185 // May be called on any thread. |
| 186 bool IsBrowserStartupComplete(); |
| 187 |
185 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ | 188 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
OLD | NEW |