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

Unified Diff: chrome/browser/sync/profile_sync_service_autofill_unittest.cc

Issue 12780012: Move UI dependency from WebDataService to WebDataServiceFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: chrome/browser/sync/profile_sync_service_autofill_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
index a9814577936505c18cdaf17681025f1993c95c14..712e0fd8a674a4f98bcc0f4fbe64587a0a261926 100644
--- a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
@@ -146,7 +146,8 @@ syncer::ModelType GetModelType<AutofillProfile>() {
class WebDataServiceFake : public WebDataService {
public:
WebDataServiceFake()
- : web_database_(NULL),
+ : WebDataService(WebDataServiceBase::ProfileErrorCallback()),
+ web_database_(NULL),
syncable_service_created_or_destroyed_(false, false) {
}

Powered by Google App Engine
This is Rietveld 408576698