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

Unified Diff: components/autofill/browser/webdata/autofill_webdata_service.cc

Issue 16174013: Remove dependency of WebData on content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 7 years, 6 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/autofill/browser/webdata/autofill_webdata_service.cc
diff --git a/components/autofill/browser/webdata/autofill_webdata_service.cc b/components/autofill/browser/webdata/autofill_webdata_service.cc
index 9aada6be4dff06bb69762940958e0d901d40a552..8964a103a26a1c64337172a6f5507ee186f8c50d 100644
--- a/components/autofill/browser/webdata/autofill_webdata_service.cc
+++ b/components/autofill/browser/webdata/autofill_webdata_service.cc
@@ -27,7 +27,8 @@ namespace autofill {
AutofillWebDataService::AutofillWebDataService(
scoped_refptr<WebDatabaseService> wdbs,
const ProfileErrorCallback& callback)
- : WebDataServiceBase(wdbs, callback),
+ : WebDataServiceBase(wdbs, callback,
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)),
weak_ptr_factory_(this),
autofill_backend_(NULL) {
@@ -41,8 +42,8 @@ AutofillWebDataService::AutofillWebDataService(
}
AutofillWebDataService::AutofillWebDataService()
- : WebDataServiceBase(NULL,
- WebDataServiceBase::ProfileErrorCallback()),
+ : WebDataServiceBase(NULL, WebDataServiceBase::ProfileErrorCallback(),
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)),
weak_ptr_factory_(this),
autofill_backend_(new AutofillWebDataBackendImpl(NULL, base::Closure())) {
}

Powered by Google App Engine
This is Rietveld 408576698