Chromium Code Reviews| 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 namespace chrome { | |
|
jam
2015/03/10 23:04:34
nit: chrome namespace isn't used anymore (see chro
michaeln
2015/03/10 23:54:54
that's too bad, chrome::IsBrowserStartupComplete()
| |
| 186 | |
| 187 // May be called on any thread. | |
| 188 bool IsBrowserStartupComplete(); | |
| 189 | |
| 190 // Must be called only on the UI thread. | |
| 191 void SetBrowserStartupIsComplete(); | |
| 192 | |
| 193 } // chrome | |
| 194 | |
| 185 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ | 195 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
| OLD | NEW |