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

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

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/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 2c4b93b794f00d587ad2057196efd26b5555953a..d01b68cf375cf2adbc4963787fa8973dcc0e41df 100644
--- a/chrome/browser/webdata/autofill_profile_syncable_service.h
+++ b/chrome/browser/webdata/autofill_profile_syncable_service.h
@@ -27,9 +27,9 @@
class AutofillProfile;
class AutofillTable;
+class AutofillWebDataService;
class FormGroup;
class ProfileSyncServiceAutofillTest;
-class WebDataService;
class WebDataServiceBase;
extern const char kAutofillProfileTag[];
@@ -46,15 +46,12 @@ class AutofillProfileSyncableService
public:
virtual ~AutofillProfileSyncableService();
- // TODO(joi): Change this to key off AutofillWebDataService instead
- // of WebDataService, once it is truly separate.
-
// Creates a new AutofillProfileSyncableService and hangs it off of
- // |web_data|, which takes ownership.
- static void CreateForWebDataService(WebDataService* web_data);
- // Retrieves the AutofillProfileSyncableService stored on |web_data|.
+ // |web_data_service|, which takes ownership.
+ static void CreateForWebDataService(AutofillWebDataService* web_data_service);
+ // Retrieves the AutofillProfileSyncableService stored on |web_data_service|.
static AutofillProfileSyncableService* FromWebDataService(
- WebDataService* web_data);
+ AutofillWebDataService* web_data_service);
static syncer::ModelType model_type() { return syncer::AUTOFILL_PROFILE; }
@@ -77,7 +74,8 @@ class AutofillProfileSyncableService
const content::NotificationDetails& details) OVERRIDE;
protected:
- explicit AutofillProfileSyncableService(WebDataService* web_data_service);
+ explicit AutofillProfileSyncableService(
+ AutofillWebDataService* web_data_service);
// A convenience wrapper of a bunch of state we pass around while
// associating models, and send to the WebDatabase for persistence.
@@ -171,7 +169,7 @@ class AutofillProfileSyncableService
sync_processor_.reset(sync_processor);
}
- WebDataService* web_data_service_; // WEAK
+ AutofillWebDataService* web_data_service_; // WEAK
content::NotificationRegistrar notification_registrar_;
// Cached Autofill profiles. *Warning* deleted profiles are still in the
« no previous file with comments | « chrome/browser/webdata/autocomplete_syncable_service.cc ('k') | chrome/browser/webdata/autofill_profile_syncable_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698