Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(894)

Unified Diff: components/webdata_services/web_data_service_wrapper.cc

Issue 1144153004: components: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/webdata_services/web_data_service_wrapper.h ('k') | components/wifi/fake_wifi_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « components/webdata_services/web_data_service_wrapper.h ('k') | components/wifi/fake_wifi_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698