| Index: chrome/browser/profiles/profile_manager.cc
|
| diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
|
| index f95ab4f82ce480b203cc926220fbabb9f329ff37..f57031190140282d5a5c8ed5acad11d3adf34576 100644
|
| --- a/chrome/browser/profiles/profile_manager.cc
|
| +++ b/chrome/browser/profiles/profile_manager.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/command_line.h"
|
| +#include "base/deferred_sequenced_task_runner.h"
|
| #include "base/file_util.h"
|
| #include "base/files/file_path.h"
|
| #include "base/metrics/histogram.h"
|
| @@ -25,6 +26,8 @@
|
| #include "chrome/browser/profiles/profile_destroyer.h"
|
| #include "chrome/browser/profiles/profile_info_cache.h"
|
| #include "chrome/browser/profiles/profile_metrics.h"
|
| +#include "chrome/browser/profiles/startup_task_runner_service.h"
|
| +#include "chrome/browser/profiles/startup_task_runner_service_factory.h"
|
| #include "chrome/browser/sync/profile_sync_service.h"
|
| #include "chrome/browser/sync/profile_sync_service_factory.h"
|
| #include "chrome/browser/ui/browser.h"
|
| @@ -761,6 +764,9 @@ void ProfileManager::DoFinalInitForServices(Profile* profile,
|
| // initializing the managed flag if necessary).
|
| ManagedUserServiceFactory::GetForProfile(profile)->Init();
|
| #endif
|
| + // Start the deferred task runners once the profile is loaded.
|
| + StartupTaskRunnerServiceFactory::GetForProfile(profile)->
|
| + StartDeferredTaskRunners();
|
| }
|
|
|
| void ProfileManager::DoFinalInitLogging(Profile* profile) {
|
|
|