| Index: chrome/browser/browser_process_impl.h
|
| diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
|
| index b3549834937470fc65610e9821eef7d3b16f932a..1ac88c941cf3e4de077a50db09827b754cd0a7d7 100644
|
| --- a/chrome/browser/browser_process_impl.h
|
| +++ b/chrome/browser/browser_process_impl.h
|
| @@ -32,6 +32,10 @@ class RemoteDebuggingServer;
|
| class PluginsResourceService;
|
| #endif
|
|
|
| +namespace base {
|
| +class SequencedTaskRunner;
|
| +}
|
| +
|
| namespace policy {
|
| class BrowserPolicyConnector;
|
| class PolicyService;
|
| @@ -42,7 +46,10 @@ class BrowserProcessImpl : public BrowserProcess,
|
| public base::NonThreadSafe,
|
| public content::NotificationObserver {
|
| public:
|
| - explicit BrowserProcessImpl(const CommandLine& command_line);
|
| + // |local_state_task_runner| must be a shutdown-blocking task runner.
|
| + BrowserProcessImpl(
|
| + base::SequencedTaskRunner* local_state_task_runner,
|
| + const CommandLine& command_line);
|
| virtual ~BrowserProcessImpl();
|
|
|
| // Called before the browser threads are created.
|
| @@ -225,6 +232,9 @@ class BrowserProcessImpl : public BrowserProcess,
|
|
|
| scoped_refptr<DownloadRequestLimiter> download_request_limiter_;
|
|
|
| + // Sequenced task runner for local state related I/O tasks.
|
| + const scoped_refptr<base::SequencedTaskRunner> local_state_task_runner_;
|
| +
|
| // Ensures that the observers of plugin/print disable/enable state
|
| // notifications are properly added and removed.
|
| PrefChangeRegistrar pref_change_registrar_;
|
|
|