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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/browser/chrome_browser_main.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.h
diff --git a/chrome/browser/chrome_browser_main.h b/chrome/browser/chrome_browser_main.h
index 1258b75605e29bbd9b23eaf750f406033623ec22..fb433b0e33692f1e97e4aa014950ae78e80f6ecf 100644
--- a/chrome/browser/chrome_browser_main.h
+++ b/chrome/browser/chrome_browser_main.h
@@ -182,4 +182,14 @@ class ChromeBrowserMainParts : public content::BrowserMainParts {
DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainParts);
};
+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()
+
+// May be called on any thread.
+bool IsBrowserStartupComplete();
+
+// Must be called only on the UI thread.
+void SetBrowserStartupIsComplete();
+
+} // chrome
+
#endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_
« 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