Chromium Code Reviews| Index: chrome/browser/webdata/autofill_profile_syncable_service.h | 
| =================================================================== | 
| --- chrome/browser/webdata/autofill_profile_syncable_service.h (revision 192389) | 
| +++ chrome/browser/webdata/autofill_profile_syncable_service.h (working copy) | 
| @@ -47,7 +47,8 @@ | 
| // Creates a new AutofillProfileSyncableService and hangs it off of | 
| // |web_data_service|, which takes ownership. | 
| - static void CreateForWebDataService(AutofillWebDataService* web_data_service); | 
| + static void CreateForWebDataService(AutofillWebDataService* web_data_service, | 
| + const std::string& app_locale); | 
| // Retrieves the AutofillProfileSyncableService stored on |web_data_service|. | 
| static AutofillProfileSyncableService* FromWebDataService( | 
| AutofillWebDataService* web_data_service); | 
| @@ -73,7 +74,8 @@ | 
| protected: | 
| explicit AutofillProfileSyncableService( | 
| - AutofillWebDataService* web_data_service); | 
| + AutofillWebDataService* web_data_service, | 
| + const std::string& app_locale); | 
| // A convenience wrapper of a bunch of state we pass around while | 
| // associating models, and send to the WebDatabase for persistence. | 
| @@ -115,7 +117,8 @@ | 
| // |specifics|. | 
| static bool OverwriteProfileWithServerData( | 
| const sync_pb::AutofillProfileSpecifics& specifics, | 
| - AutofillProfile* profile); | 
| + AutofillProfile* profile, | 
| + const std::string& app_locale); | 
| // Writes |profile| data into supplied |profile_specifics|. | 
| static void WriteAutofillProfile(const AutofillProfile& profile, | 
| @@ -168,6 +171,7 @@ | 
| } | 
| AutofillWebDataService* web_data_service_; // WEAK | 
| + std::string app_locale_; | 
| 
 
Ilya Sherman
2013/04/05 07:18:41
nit: Can this be const?
 
jam
2013/04/05 07:35:35
yes it can, but i'm personally not a fan of consti
 
 | 
| ScopedObserver<AutofillWebDataService, AutofillProfileSyncableService> | 
| scoped_observer_; |