Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(625)

Side by Side Diff: chrome/browser/chrome_browser_main.h

Issue 949293002: Implement a poor man's PostAfterStartupTask() function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/browser/chrome_browser_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698