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

Unified Diff: components/search_engines/keyword_web_data_service.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/search_engines/keyword_web_data_service.cc
diff --git a/components/search_engines/keyword_web_data_service.cc b/components/search_engines/keyword_web_data_service.cc
index 29981e49ef64f22ce1e5eec0e47f7e95a7fdf43d..e6448d28b9f176a4f9ecda65e99c974df0d23b95 100644
--- a/components/search_engines/keyword_web_data_service.cc
+++ b/components/search_engines/keyword_web_data_service.cc
@@ -5,6 +5,8 @@
#include "components/search_engines/keyword_web_data_service.h"
#include "base/bind.h"
+#include "base/location.h"
+#include "base/single_thread_task_runner.h"
#include "components/search_engines/keyword_table.h"
#include "components/search_engines/template_url_data.h"
#include "components/webdata/common/web_data_results.h"
@@ -33,10 +35,9 @@ KeywordWebDataService::BatchModeScoper::~BatchModeScoper() {
KeywordWebDataService::KeywordWebDataService(
scoped_refptr<WebDatabaseService> wdbs,
- scoped_refptr<base::MessageLoopProxy> ui_thread,
+ scoped_refptr<base::SingleThreadTaskRunner> ui_thread,
const ProfileErrorCallback& callback)
- : WebDataServiceBase(wdbs, callback, ui_thread),
- batch_mode_level_(0) {
+ : WebDataServiceBase(wdbs, callback, ui_thread), batch_mode_level_(0) {
}
void KeywordWebDataService::AddKeyword(const TemplateURLData& data) {
« no previous file with comments | « components/search_engines/keyword_web_data_service.h ('k') | components/search_provider_logos/logo_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698