| Index: content/browser/browser_main_loop.h
|
| diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
|
| index 5c3608bc8726bf5abce42176d91435765fcd2c2c..f37fc19ddc6046b8608ff041f75c532d34807a1a 100644
|
| --- a/content/browser/browser_main_loop.h
|
| +++ b/content/browser/browser_main_loop.h
|
| @@ -6,8 +6,10 @@
|
| #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "content/browser/browser_process_sub_thread.h"
|
| +#include "content/public/browser/browser_main_runner.h"
|
|
|
| class CommandLine;
|
|
|
| @@ -65,8 +67,8 @@ class CONTENT_EXPORT BrowserMainLoop {
|
| void InitializeToolkit();
|
| void MainMessageLoopStart();
|
|
|
| - // Create all secondary threads.
|
| - void CreateThreads();
|
| + // Create the tasks we need to complete startup.
|
| + void CreateStartupTasks();
|
|
|
| // Perform the default message loop run logic.
|
| void RunMainMessageLoopParts();
|
| @@ -94,8 +96,16 @@ class CONTENT_EXPORT BrowserMainLoop {
|
|
|
| void InitializeMainThread();
|
|
|
| + // Called just before creating the threads
|
| + int PreCreateThreads();
|
| +
|
| + // Create all secondary threads.
|
| + int CreateThreads();
|
| +
|
| // Called right after the browser threads have been started.
|
| - void BrowserThreadsStarted();
|
| + int BrowserThreadsStarted();
|
| +
|
| + int PreMainMessageLoopRun();
|
|
|
| void MainMessageLoopRun();
|
|
|
|
|