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

Unified Diff: components/autofill/core/browser/webdata/autofill_webdata_backend_impl.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
Index: components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc
diff --git a/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc b/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc
index 2bdc505314633839e961977cfb50cedb7c72ceca..ec48b8098a63d9887d8487733c368d74774d3fe7 100644
--- a/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc
+++ b/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc
@@ -5,9 +5,10 @@
#include "components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h"
#include "base/bind.h"
+#include "base/location.h"
#include "base/logging.h"
#include "base/memory/scoped_vector.h"
-#include "base/message_loop/message_loop_proxy.h"
+#include "base/single_thread_task_runner.h"
#include "base/stl_util.h"
#include "components/autofill/core/browser/autofill_country.h"
#include "components/autofill/core/browser/autofill_profile.h"
@@ -26,8 +27,8 @@ namespace autofill {
AutofillWebDataBackendImpl::AutofillWebDataBackendImpl(
scoped_refptr<WebDatabaseBackend> web_database_backend,
- scoped_refptr<base::MessageLoopProxy> ui_thread,
- scoped_refptr<base::MessageLoopProxy> db_thread,
+ scoped_refptr<base::SingleThreadTaskRunner> ui_thread,
+ scoped_refptr<base::SingleThreadTaskRunner> db_thread,
const base::Closure& on_changed_callback)
: base::RefCountedDeleteOnMessageLoop<AutofillWebDataBackendImpl>(
db_thread),

Powered by Google App Engine
This is Rietveld 408576698