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

Unified Diff: chrome/browser/webdata/autofill_profile_syncable_service.h

Issue 14081043: Hook up Autofill Backend interface to SyncableServices (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/webdata/autofill_profile_syncable_service.h
diff --git a/chrome/browser/webdata/autofill_profile_syncable_service.h b/chrome/browser/webdata/autofill_profile_syncable_service.h
index f46c7e7b3a6e42a39cac9ce32c231e31fd4e409e..632b963afeae001570d35cdfbd6ee96d1f8ab563 100644
--- a/chrome/browser/webdata/autofill_profile_syncable_service.h
+++ b/chrome/browser/webdata/autofill_profile_syncable_service.h
@@ -28,6 +28,7 @@ class ProfileSyncServiceAutofillTest;
class WebDataServiceBase;
namespace autofill {
+class AutofillBackendDelegate;
class AutofillProfile;
class AutofillTable;
class AutofillWebDataService;
@@ -52,6 +53,7 @@ class AutofillProfileSyncableService
// |web_data_service|, which takes ownership.
static void CreateForWebDataService(
autofill::AutofillWebDataService* web_data_service,
+ autofill::AutofillBackendDelegate* web_data_delegate,
const std::string& app_locale);
// Retrieves the AutofillProfileSyncableService stored on |web_data_service|.
@@ -80,6 +82,7 @@ class AutofillProfileSyncableService
protected:
AutofillProfileSyncableService(
autofill::AutofillWebDataService* web_data_service,
+ autofill::AutofillBackendDelegate* web_data_delegate,
const std::string& app_locale);
// A convenience wrapper of a bunch of state we pass around while
@@ -179,8 +182,9 @@ class AutofillProfileSyncableService
}
autofill::AutofillWebDataService* web_data_service_; // WEAK
+ autofill::AutofillBackendDelegate* web_data_delegate_; // WEAK
std::string app_locale_;
- ScopedObserver<autofill::AutofillWebDataService,
+ ScopedObserver<autofill::AutofillBackendDelegate,
AutofillProfileSyncableService> scoped_observer_;
// Cached Autofill profiles. *Warning* deleted profiles are still in the

Powered by Google App Engine
This is Rietveld 408576698