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, 12 insertions, 6 deletions
diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
index c0c3a45..d6f351d 100644
--- a/content/browser/browser_main_loop.h
+++ b/content/browser/browser_main_loop.h
@@ -44,24 +44,30 @@ class BrowserMainLoop {
void EarlyInitialization();
void InitializeToolkit();
void MainMessageLoopStart();
- void RunMainMessageLoopParts(bool* completed_main_message_loop);
- void MainMessageLoopRun();
- int GetResultCode() const { return result_code_; }
+ // Create all secondary threads.
+ void CreateThreads();
- private:
- // For ShutdownThreadsAndCleanUp.
- friend class BrowserShutdownImpl;
+ // Perform the default message loop run logic.
+ void RunMainMessageLoopParts();
// Performs the shutdown sequence, starting with PostMainMessageLoopRun
// through stopping threads to PostDestroyThreads.
void ShutdownThreadsAndCleanUp();
+ int GetResultCode() const { return result_code_; }
+
+ private:
+ // For ShutdownThreadsAndCleanUp.
+ friend class BrowserShutdownImpl;
+
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_;