Index: content/browser/browser_main_loop.h |
=================================================================== |
--- content/browser/browser_main_loop.h (revision 121246) |
+++ content/browser/browser_main_loop.h (working copy) |
@@ -44,24 +44,30 @@ |
void EarlyInitialization(); |
void InitializeToolkit(); |
void MainMessageLoopStart(); |
- void RunMainMessageLoopParts(bool* completed_main_message_loop); |
- void MainMessageLoopRun(); |
+ // 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(); |
+ |
int GetResultCode() const { return result_code_; } |
private: |
// 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_; |