Chromium Code Reviews| 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..1a333b16c9f9af3ace34a5a26154e9a948aea92b 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); |
| + static void CreateForWebDataService(AutofillWebDataService* web_data); |
|
dhollowa
2013/03/21 16:44:07
web_data -> web_data_service
Cait (Slow)
2013/03/21 23:23:27
Done.
|
| // Retrieves the AutofillProfileSyncableService stored on |web_data|. |
| static AutofillProfileSyncableService* FromWebDataService( |
| - WebDataService* web_data); |
| + AutofillWebDataService* web_data); |
|
dhollowa
2013/03/21 16:44:07
web_data -> web_data_service
Cait (Slow)
2013/03/21 23:23:27
Done.
|
| 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 |