| Index: content/public/browser/browser_main_runner.h
|
| diff --git a/content/public/browser/browser_main_runner.h b/content/public/browser/browser_main_runner.h
|
| index 4340687796ec32a4c939cfd00ce8ba9b276202d4..1bb25fd73a3114d8402ec1594abcb12938b4f725 100644
|
| --- a/content/public/browser/browser_main_runner.h
|
| +++ b/content/public/browser/browser_main_runner.h
|
| @@ -6,11 +6,13 @@
|
| #define CONTENT_PUBLIC_BROWSER_BROWSER_MAIN_RUNNER_H_
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "content/common/content_export.h"
|
|
|
| namespace content {
|
|
|
| struct MainFunctionParams;
|
| +class StartupTaskRunner;
|
|
|
| // This class is responsible for browser initialization, running and shutdown.
|
| class CONTENT_EXPORT BrowserMainRunner {
|
| @@ -22,7 +24,9 @@ class CONTENT_EXPORT BrowserMainRunner {
|
|
|
| // Initialize all necessary browser state. The |parameters| values will be
|
| // copied.
|
| - virtual int Initialize(const content::MainFunctionParams& parameters) = 0;
|
| + virtual int Initialize(
|
| + const content::MainFunctionParams& parameters,
|
| + const scoped_refptr<StartupTaskRunner>& task_runner) = 0;
|
|
|
| // Perform the default run logic.
|
| virtual int Run() = 0;
|
|
|