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

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

Issue 12897009: Autofill Webdata Split TRY ONLY (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try again 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/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;
}
}

Powered by Google App Engine
This is Rietveld 408576698