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

Unified Diff: components/webdata/common/web_data_service_base.h

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/webdata/common/web_data_service_base.h
diff --git a/components/webdata/common/web_data_service_base.h b/components/webdata/common/web_data_service_base.h
index 2a0ead67eb0e1a7865e3537a9a2bdd62f9784b68..de5a3e9dae5a929675763f417ff5a1a91ce900dc 100644
--- a/components/webdata/common/web_data_service_base.h
+++ b/components/webdata/common/web_data_service_base.h
@@ -19,7 +19,7 @@ class WebDatabaseTable;
namespace base {
// TODO(skyostil): Migrate to SingleThreadTaskRunner (crbug.com/465354).
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
class Thread;
}
@@ -49,9 +49,10 @@ class WEBDATA_EXPORT WebDataServiceBase
// WebDataServiceWrapper handles the initializing and shutting down and of
// the |wdbs| object.
// WebDataServiceBase is destroyed on |ui_thread|.
- WebDataServiceBase(scoped_refptr<WebDatabaseService> wdbs,
- const ProfileErrorCallback& callback,
- const scoped_refptr<base::MessageLoopProxy>& ui_thread);
+ WebDataServiceBase(
+ scoped_refptr<WebDatabaseService> wdbs,
+ const ProfileErrorCallback& callback,
+ const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread);
// Cancel any pending request. You need to call this method if your
// WebDataServiceConsumer is about to be deleted.
« no previous file with comments | « components/webdata/common/web_data_request_manager.cc ('k') | components/webdata/common/web_data_service_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698