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

Unified Diff: components/autofill/browser/android/auxiliary_profile_unittest_android.cc

Issue 13697002: Make autofill's Address store country using the country code so that app locale isn't needed for th… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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: components/autofill/browser/android/auxiliary_profile_unittest_android.cc
===================================================================
--- components/autofill/browser/android/auxiliary_profile_unittest_android.cc (revision 192389)
+++ components/autofill/browser/android/auxiliary_profile_unittest_android.cc (working copy)
@@ -16,7 +16,7 @@
AuxiliaryProfileAndroidTest() {}
AutofillProfile* GetAndLoadProfile() {
- autofill::AuxiliaryProfilesAndroid impl(profile_loader_);
+ autofill::AuxiliaryProfilesAndroid impl(profile_loader_, "en-US");
profile_ = impl.LoadContactsProfile();
return profile_.get();
}
@@ -109,7 +109,7 @@
string16 city = ASCIIToUTF16("London");
string16 postal_code = ASCIIToUTF16("123456");
string16 region = ASCIIToUTF16("Georgian Terrace");
- string16 country = ASCIIToUTF16("England");
+ string16 country = ASCIIToUTF16("GB");
Ilya Sherman 2013/04/05 05:18:01 Please preserve the string "England" here -- this
jam 2013/04/05 06:45:54 Done.
profile_loader().SetStreet(street);
profile_loader().SetCity(city);

Powered by Google App Engine
This is Rietveld 408576698