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

Unified Diff: components/password_manager/core/browser/webdata/password_web_data_service_win.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/password_manager/core/browser/webdata/password_web_data_service_win.h
diff --git a/components/password_manager/core/browser/webdata/password_web_data_service_win.h b/components/password_manager/core/browser/webdata/password_web_data_service_win.h
index acf22e6e9446b6065839478665ee501ebbaefa52..12ae4782332922c3352fe751909da8af78a60786 100644
--- a/components/password_manager/core/browser/webdata/password_web_data_service_win.h
+++ b/components/password_manager/core/browser/webdata/password_web_data_service_win.h
@@ -18,7 +18,7 @@ struct IE7PasswordInfo;
class WebDatabaseService;
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
}
namespace content {
@@ -37,7 +37,7 @@ class PasswordWebDataService : public WebDataServiceBase {
content::BrowserContext* context);
PasswordWebDataService(scoped_refptr<WebDatabaseService> wdbs,
- scoped_refptr<base::MessageLoopProxy> ui_thread,
+ scoped_refptr<base::SingleThreadTaskRunner> ui_thread,
const ProfileErrorCallback& callback);
// Adds |info| to the list of imported passwords from ie7/ie8.
@@ -56,7 +56,7 @@ class PasswordWebDataService : public WebDataServiceBase {
protected:
// For unit tests, passes a null callback.
- PasswordWebDataService(scoped_refptr<base::MessageLoopProxy> ui_thread);
+ PasswordWebDataService(scoped_refptr<base::SingleThreadTaskRunner> ui_thread);
~PasswordWebDataService() override;

Powered by Google App Engine
This is Rietveld 408576698