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

Issue 13697002: Make autofill's Address store country using the country code so that app locale isn't needed for th… (Closed)

Created:
7 years, 8 months ago by jam
Modified:
7 years, 8 months ago
Reviewers:
Ilya Sherman
CC:
chromium-reviews, dbeam+watch-options_chromium.org, Raman Kakilate, benquan, dhollowa+watch_chromium.org, ahutter, browser-components-watch_chromium.org, dbeam+watch-autofill_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Albert Bodenhamer, Ilya Sherman
Visibility:
Public.

Description

Make autofill's Address store country using the country code so that app locale isn't needed for the raw methods. This is in preparation for removing content::GetContentClient calls outside of content. BUG=227047 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192588

Patch Set 1 #

Total comments: 53

Patch Set 2 : #

Patch Set 3 : review comments #

Patch Set 4 : review comments #

Total comments: 19

Patch Set 5 : review comments2 #

Total comments: 1

Patch Set 6 : fix remaining tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -148 lines) Patch
M chrome/browser/autofill/android/personal_data_manager_android.cc View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/autofill/autofill_browsertest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_autofill_unittest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 2 3 4 2 chunks +15 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/autofill_options_handler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/webdata/autofill_profile_syncable_service.h View 1 2 4 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/webdata/autofill_profile_syncable_service.cc View 1 2 6 chunks +20 lines, -8 lines 0 comments Download
M chrome/browser/webdata/web_data_service_factory.cc View 1 2 3 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/webdata/web_database_migration_unittest.cc View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/test/data/autofill/merge/output/case.out View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/autofill/merge/output/identical.out View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/autofill/merge/output/multimerge.out View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/autofill/merge/output/primarycase.out View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/autofill/merge/output/singlemerge.out View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/autofill/merge/output/validation.out View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/browser/address.h View 1 2 3 4 5 1 chunk +6 lines, -9 lines 0 comments Download
M components/autofill/browser/address.cc View 1 2 3 4 3 chunks +34 lines, -23 lines 0 comments Download
M components/autofill/browser/address_unittest.cc View 1 2 3 4 3 chunks +12 lines, -24 lines 0 comments Download
M components/autofill/browser/android/auxiliary_profile_unittest_android.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/browser/android/auxiliary_profiles_android.h View 2 chunks +4 lines, -2 lines 0 comments Download
M components/autofill/browser/android/auxiliary_profiles_android.cc View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M components/autofill/browser/android/personal_data_manager_android.cc View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M components/autofill/browser/autocheckout_manager.cc View 1 2 3 4 2 chunks +12 lines, -0 lines 0 comments Download
M components/autofill/browser/autofill_profile.h View 1 chunk +0 lines, -4 lines 0 comments Download
M components/autofill/browser/autofill_profile.cc View 4 chunks +8 lines, -14 lines 0 comments Download
M components/autofill/browser/autofill_profile_unittest.cc View 1 2 2 chunks +1 line, -9 lines 0 comments Download
M components/autofill/browser/personal_data_manager.cc View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M components/autofill/browser/phone_number.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/autofill/browser/phone_number_unittest.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M components/autofill/browser/wallet/wallet_address.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M components/webdata/autofill/autofill_table.cc View 1 2 3 4 7 chunks +12 lines, -10 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jam
Ilia, please take a look. I'm not familiar with this code, so not sure if ...
7 years, 8 months ago (2013-04-05 02:27:25 UTC) #1
Ilya Sherman
Thanks for taking this on, John! Two more files that I think we'll need to ...
7 years, 8 months ago (2013-04-05 05:18:01 UTC) #2
jam
Thanks for the detailed review. On 2013/04/05 05:18:01, Ilya Sherman wrote: > Thanks for taking ...
7 years, 8 months ago (2013-04-05 06:45:53 UTC) #3
Ilya Sherman
https://chromiumcodereview.appspot.com/13697002/diff/1/components/autofill/browser/address_unittest.cc File components/autofill/browser/address_unittest.cc (left): https://chromiumcodereview.appspot.com/13697002/diff/1/components/autofill/browser/address_unittest.cc#oldcode115 components/autofill/browser/address_unittest.cc:115: } On 2013/04/05 06:45:54, jam wrote: > On 2013/04/05 ...
7 years, 8 months ago (2013-04-05 07:18:41 UTC) #4
jam
https://codereview.chromium.org/13697002/diff/1/components/autofill/browser/address_unittest.cc File components/autofill/browser/address_unittest.cc (left): https://codereview.chromium.org/13697002/diff/1/components/autofill/browser/address_unittest.cc#oldcode115 components/autofill/browser/address_unittest.cc:115: } On 2013/04/05 07:18:41, Ilya Sherman wrote: > On ...
7 years, 8 months ago (2013-04-05 07:35:34 UTC) #5
Ilya Sherman
LGTM https://chromiumcodereview.appspot.com/13697002/diff/50001/components/autofill/browser/address.h File components/autofill/browser/address.h (right): https://chromiumcodereview.appspot.com/13697002/diff/50001/components/autofill/browser/address.h#newcode33 components/autofill/browser/address.h:33: const std::string& app_locale) OVERRIDE; nit: Trailing whitespace
7 years, 8 months ago (2013-04-05 09:02:11 UTC) #6
Ilya Sherman
7 years, 8 months ago (2013-04-05 09:02:12 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698