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 a611682a91b31a87c38298d0679a048d09c343a8..ee3ab723eee4a639ece68fb5736bbd3735d730b3 100644 |
--- a/chrome/browser/sync/glue/autofill_data_type_controller.cc |
+++ b/chrome/browser/sync/glue/autofill_data_type_controller.cc |
@@ -6,12 +6,12 @@ |
#include "base/bind.h" |
#include "base/metrics/histogram.h" |
+#include "chrome/browser/api/webdata/autofill_web_data_service.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/sync/profile_sync_components_factory.h" |
#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.h" |
#include "chrome/common/chrome_notification_types.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/notification_source.h" |
@@ -65,13 +65,13 @@ bool AutofillDataTypeController::StartModels() { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
DCHECK_EQ(MODEL_STARTING, state()); |
- web_data_service_ = WebDataService::FromBrowserContext(profile()); |
+ web_data_service_ = AutofillWebDataService::FromBrowserContext(profile()); |
if (web_data_service_->IsDatabaseLoaded()) { |
return true; |
} else { |
notification_registrar_.Add( |
this, chrome::NOTIFICATION_WEB_DATABASE_LOADED, |
- content::Source<WebDataService>(web_data_service_.get())); |
+ content::Source<AutofillWebDataService>(web_data_service_.get())); |
return false; |
} |
} |