summaryrefslogtreecommitdiffstats
path: root/content/browser/browser_main_loop.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/browser_main_loop.h')
-rw-r--r--content/browser/browser_main_loop.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
index d6f351d..c0c3a45 100644
--- a/content/browser/browser_main_loop.h
+++ b/content/browser/browser_main_loop.h
@@ -44,16 +44,8 @@ class BrowserMainLoop {
void EarlyInitialization();
void InitializeToolkit();
void MainMessageLoopStart();
-
- // Create all secondary threads.
- void CreateThreads();
-
- // Perform the default message loop run logic.
- void RunMainMessageLoopParts();
-
- // Performs the shutdown sequence, starting with PostMainMessageLoopRun
- // through stopping threads to PostDestroyThreads.
- void ShutdownThreadsAndCleanUp();
+ void RunMainMessageLoopParts(bool* completed_main_message_loop);
+ void MainMessageLoopRun();
int GetResultCode() const { return result_code_; }
@@ -61,13 +53,15 @@ class BrowserMainLoop {
// For ShutdownThreadsAndCleanUp.
friend class BrowserShutdownImpl;
+ // Performs the shutdown sequence, starting with PostMainMessageLoopRun
+ // through stopping threads to PostDestroyThreads.
+ void ShutdownThreadsAndCleanUp();
+
void InitializeMainThread();
// Called right after the browser threads have been started.
void BrowserThreadsStarted();
- void MainMessageLoopRun();
-
// Members initialized on construction ---------------------------------------
const content::MainFunctionParams& parameters_;
const CommandLine& parsed_command_line_;