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

Issue 3061001: AutoFill Empty profiles should not be saved from AutoFillDialog Add and Edit sheets on Mac. (Closed)

Created:
10 years, 5 months ago by dhollowa
Modified:
9 years, 7 months ago
Reviewers:
James Hawkins
CC:
chromium-reviews, John Grabowski, Paweł Hajdan Jr., pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

AutoFill Empty profiles should not be saved from AutoFillDialog Add and Edit sheets on Mac. Changes the AutoFillDialog on Mac to not store intermediate results of "Add" and "Edit" actions when those actions result in empty address or credit card information. Empty addresses and credit card information is culled at this level now, not just after "Save" from the main dialog. BUG=47742 TEST=AutoFillDialogControllerTest.AddNewProfile, AutoFillDialogControllerTest.AddNewEmptyProfile, AutoFillDialogControllerTest.AddNewCreditCard, AutoFillDialogControllerTest.AddNewEmptyCreditCard Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53276

Patch Set 1 #

Total comments: 6

Patch Set 2 : Move to member function and functor instead of static method. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -31 lines) Patch
M chrome/browser/autofill/autofill_dialog_controller_mac.mm View 1 4 chunks +35 lines, -15 lines 0 comments Download
M chrome/browser/autofill/autofill_dialog_controller_mac_unittest.mm View 4 chunks +59 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_profile.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_profile.cc View 1 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/autofill/credit_card.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/autofill/credit_card.cc View 1 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/autofill/personal_data_manager.cc View 1 3 chunks +4 lines, -14 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dhollowa
10 years, 5 months ago (2010-07-21 20:53:35 UTC) #1
James Hawkins
http://codereview.chromium.org/3061001/diff/1/5 File chrome/browser/autofill/autofill_profile.h (right): http://codereview.chromium.org/3061001/diff/1/5#newcode85 chrome/browser/autofill/autofill_profile.h:85: static bool IsEmptyProfile(const AutoFillProfile& profile); Why make this static? ...
10 years, 5 months ago (2010-07-21 20:57:21 UTC) #2
dhollowa
http://codereview.chromium.org/3061001/diff/1/5 File chrome/browser/autofill/autofill_profile.h (right): http://codereview.chromium.org/3061001/diff/1/5#newcode85 chrome/browser/autofill/autofill_profile.h:85: static bool IsEmptyProfile(const AutoFillProfile& profile); On 2010/07/21 20:57:21, James ...
10 years, 5 months ago (2010-07-21 21:01:08 UTC) #3
dhollowa
http://codereview.chromium.org/3061001/diff/1/8 File chrome/browser/autofill/personal_data_manager.cc (right): http://codereview.chromium.org/3061001/diff/1/8#newcode223 chrome/browser/autofill/personal_data_manager.cc:223: AutoFillProfile::IsEmptyProfile), On 2010/07/21 20:57:21, James Hawkins wrote: > I ...
10 years, 5 months ago (2010-07-21 21:06:59 UTC) #4
dhollowa
On 2010/07/21 21:06:59, dhollowa wrote: > http://codereview.chromium.org/3061001/diff/1/8 > File chrome/browser/autofill/personal_data_manager.cc (right): > > http://codereview.chromium.org/3061001/diff/1/8#newcode223 > ...
10 years, 5 months ago (2010-07-21 22:45:20 UTC) #5
James Hawkins
On 2010/07/21 22:45:20, dhollowa wrote: > On 2010/07/21 21:06:59, dhollowa wrote: > > http://codereview.chromium.org/3061001/diff/1/8 > ...
10 years, 5 months ago (2010-07-21 22:46:28 UTC) #6
dhollowa
Done.
10 years, 5 months ago (2010-07-21 23:05:02 UTC) #7
James Hawkins
10 years, 5 months ago (2010-07-21 23:14:01 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698