diff options
author | skyostil <skyostil@chromium.org> | 2015-06-02 12:03:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-02 19:05:11 +0000 |
commit | b0daa011ba68aa9079f31925faa9a7ca88894770 (patch) | |
tree | 8fb2c57a520058df58dba9ba34906af098f715f3 /components/webdata_services/web_data_service_wrapper.h | |
parent | 3f2a3abd4acdd336e4c76ce963663507bd05e7bd (diff) | |
download | chromium_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.h | 15 |
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. |