summaryrefslogtreecommitdiffstats
path: root/components/webdata_services/web_data_service_wrapper.h
diff options
context:
space:
mode:
authorskyostil <skyostil@chromium.org>2015-06-02 12:03:48 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-02 19:05:11 +0000
commitb0daa011ba68aa9079f31925faa9a7ca88894770 (patch)
tree8fb2c57a520058df58dba9ba34906af098f715f3 /components/webdata_services/web_data_service_wrapper.h
parent3f2a3abd4acdd336e4c76ce963663507bd05e7bd (diff)
downloadchromium_src-b0daa011ba68aa9079f31925faa9a7ca88894770.zip
chromium_src-b0daa011ba68aa9079f31925faa9a7ca88894770.tar.gz
chromium_src-b0daa011ba68aa9079f31925faa9a7ca88894770.tar.bz2
components: Remove use of MessageLoopProxy and deprecated MessageLoop APIs
This patch was mostly autogenerated with https://codereview.chromium.org/1010073002/. BUG=465354 Review URL: https://codereview.chromium.org/1144153004 Cr-Commit-Position: refs/heads/master@{#332440}
Diffstat (limited to 'components/webdata_services/web_data_service_wrapper.h')
-rw-r--r--components/webdata_services/web_data_service_wrapper.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/components/webdata_services/web_data_service_wrapper.h b/components/webdata_services/web_data_service_wrapper.h
index d189e83..e19dd0c 100644
--- a/components/webdata_services/web_data_service_wrapper.h
+++ b/components/webdata_services/web_data_service_wrapper.h
@@ -29,7 +29,7 @@ class AutofillWebDataService;
namespace base {
class FilePath;
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
} // namespace base
// WebDataServiceWrapper is a KeyedService that owns multiple WebDataServices
@@ -52,12 +52,13 @@ class WebDataServiceWrapper : public KeyedService {
// Since |flare| will be copied and called multiple times, it cannot bind
// values using base::Owned nor base::Passed; it should only bind simple or
// refcounted types.
- 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 syncer::SyncableService::StartSyncFlare& flare,
- ShowErrorCallback show_error_callback);
+ WebDataServiceWrapper(
+ const base::FilePath& context_path,
+ const std::string& application_locale,
+ const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
+ const scoped_refptr<base::SingleThreadTaskRunner>& db_thread,
+ const syncer::SyncableService::StartSyncFlare& flare,
+ ShowErrorCallback show_error_callback);
~WebDataServiceWrapper() override;
// For testing.