Index: components/webdata_services/web_data_service_wrapper.cc |
diff --git a/components/webdata_services/web_data_service_wrapper.cc b/components/webdata_services/web_data_service_wrapper.cc |
index c1c5deb12dbe062554692a3de79fa149995056c6..73d48e7bda0b3a4fc31626a5ee0f998ea78740b2 100644 |
--- a/components/webdata_services/web_data_service_wrapper.cc |
+++ b/components/webdata_services/web_data_service_wrapper.cc |
@@ -7,7 +7,7 @@ |
#include "base/bind.h" |
#include "base/callback.h" |
#include "base/files/file_path.h" |
-#include "base/message_loop/message_loop_proxy.h" |
+#include "base/single_thread_task_runner.h" |
#include "components/autofill/core/browser/webdata/autocomplete_syncable_service.h" |
#include "components/autofill/core/browser/webdata/autofill_profile_syncable_service.h" |
#include "components/autofill/core/browser/webdata/autofill_table.h" |
@@ -28,7 +28,7 @@ |
namespace { |
void InitSyncableServicesOnDBThread( |
- const scoped_refptr<base::MessageLoopProxy>& db_thread, |
+ scoped_refptr<base::SingleThreadTaskRunner> db_thread, |
const syncer::SyncableService::StartSyncFlare& sync_flare, |
const scoped_refptr<autofill::AutofillWebDataService>& autofill_web_data, |
const base::FilePath& context_path, |
@@ -62,8 +62,8 @@ WebDataServiceWrapper::WebDataServiceWrapper() { |
WebDataServiceWrapper::WebDataServiceWrapper( |
const base::FilePath& context_path, |
const std::string& application_locale, |
- const scoped_refptr<base::MessageLoopProxy>& ui_thread, |
- const scoped_refptr<base::MessageLoopProxy>& db_thread, |
+ const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread, |
+ const scoped_refptr<base::SingleThreadTaskRunner>& db_thread, |
const syncer::SyncableService::StartSyncFlare& flare, |
ShowErrorCallback show_error_callback) { |
base::FilePath path = context_path.Append(kWebDataFilename); |