| Index: content/browser/browser_main_loop.h
|
| diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
|
| index 0f3d3d711091cc463fcf7d1e3d1ddfc62b19b6ac..1f15c87753a62b7a48df008370e15c92ff0e2df8 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/common/startup_task_runner.h"
|
|
|
| class CommandLine;
|
|
|
| @@ -63,7 +65,7 @@ class CONTENT_EXPORT BrowserMainLoop {
|
| void MainMessageLoopStart();
|
|
|
| // Create all secondary threads.
|
| - void CreateThreads();
|
| + void CreateThreads(const scoped_refptr<StartupTaskRunner>& task_runner);
|
|
|
| // Perform the default message loop run logic.
|
| void RunMainMessageLoopParts();
|
| @@ -91,9 +93,17 @@ class CONTENT_EXPORT BrowserMainLoop {
|
|
|
| void InitializeMainThread();
|
|
|
| + // Called just before creating the threads
|
| + void PreCreateThreads();
|
| +
|
| + // Create a single thread.
|
| + void CreateThread(size_t thread_id);
|
| +
|
| // Called right after the browser threads have been started.
|
| void BrowserThreadsStarted();
|
|
|
| + void PreMainMessageLoopRun();
|
| +
|
| void MainMessageLoopRun();
|
|
|
| // Members initialized on construction ---------------------------------------
|
|
|