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

Unified Diff: chrome/browser/sync/glue/autofill_data_type_controller.cc

Issue 13928035: WIP Component build of autofill Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make windows compiling Created 7 years, 8 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/glue/autofill_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/autofill_data_type_controller.cc b/chrome/browser/sync/glue/autofill_data_type_controller.cc
index 6e7a83c016d539988d17e0898cd030e32129d278..73deae65b574645d79abdc1ce7c5fb17d9c6bdbc 100644
--- a/chrome/browser/sync/glue/autofill_data_type_controller.cc
+++ b/chrome/browser/sync/glue/autofill_data_type_controller.cc
@@ -11,6 +11,7 @@
#include "chrome/browser/sync/profile_sync_service.h"
#include "chrome/browser/sync/profile_sync_service_factory.h"
#include "chrome/browser/webdata/autocomplete_syncable_service.h"
+#include "chrome/browser/webdata/web_data_service_factory.h"
#include "components/autofill/browser/webdata/autofill_webdata_service.h"
#include "content/public/browser/browser_thread.h"
#include "sync/api/sync_error.h"
@@ -64,7 +65,7 @@ bool AutofillDataTypeController::StartModels() {
DCHECK_EQ(MODEL_STARTING, state());
web_data_service_ =
- autofill::AutofillWebDataService::FromBrowserContext(profile());
+ WebDataServiceFactory::GetAutofillWebDataServiceForProfile(profile());
if (web_data_service_->IsDatabaseLoaded()) {
return true;
} else {

Powered by Google App Engine
This is Rietveld 408576698