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

Issue 3806008: Never allow empty preview entries. As some data is always present (we drop co... (Closed)

Created:
10 years, 2 months ago by GeorgeY
Modified:
9 years, 6 months ago
Reviewers:
James Hawkins, dhollowa
CC:
chromium-reviews, Paweł Hajdan Jr., ben+cc_chromium.org
Visibility:
Public.

Description

Never allow empty preview entries. As some data is always present (we drop completely empty profiles), display this data in preview if name and first line of address is not available. TEST=in the bug + unit-test BUG=50320 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=63806

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 8

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -106 lines) Patch
M chrome/browser/autofill/autofill_dialog_controller_mac.mm View 9 2 chunks +0 lines, -15 lines 0 comments Download
M chrome/browser/autofill/autofill_dialog_gtk.cc View 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autofill/autofill_profile.h View 2 3 4 5 6 7 8 9 2 chunks +3 lines, -10 lines 0 comments Download
M chrome/browser/autofill/autofill_profile.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -44 lines 0 comments Download
M chrome/browser/autofill/autofill_profile_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +55 lines, -18 lines 0 comments Download
M chrome/browser/autofill/personal_data_manager.cc View 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/autofill/personal_data_manager_unittest.cc View 8 9 2 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/dom_ui/options/autofill_options_handler.cc View 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/autofill_profiles_view_win.h View 5 6 7 8 9 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/views/autofill_profiles_view_win.cc View 2 3 4 5 6 7 8 9 4 chunks +1 line, -12 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
GeorgeY
10 years, 2 months ago (2010-10-15 06:17:47 UTC) #1
James Hawkins
AutoFillProfile::PreviewSummary should be removed and the platform-specific dialog implementations should just call AutoFillProfile::CreateInferredLabels(profiles), where |profiles| ...
10 years, 2 months ago (2010-10-15 07:06:18 UTC) #2
GeorgeY
On 2010/10/15 07:06:18, James Hawkins wrote: > AutoFillProfile::PreviewSummary should be removed and the platform-specific > ...
10 years, 2 months ago (2010-10-15 17:22:49 UTC) #3
James Hawkins
On 2010/10/15 17:22:49, GeorgeY wrote: > On 2010/10/15 07:06:18, James Hawkins wrote: > > AutoFillProfile::PreviewSummary ...
10 years, 2 months ago (2010-10-15 18:20:31 UTC) #4
dhollowa
On 2010/10/15 17:22:49, GeorgeY wrote: > On 2010/10/15 07:06:18, James Hawkins wrote: > > AutoFillProfile::PreviewSummary ...
10 years, 2 months ago (2010-10-15 18:22:27 UTC) #5
GeorgeY
On 2010/10/15 18:22:27, dhollowa wrote: > On 2010/10/15 17:22:49, GeorgeY wrote: > > On 2010/10/15 ...
10 years, 2 months ago (2010-10-15 18:23:22 UTC) #6
GeorgeY
On 2010/10/15 18:20:31, James Hawkins wrote: > On 2010/10/15 17:22:49, GeorgeY wrote: > > On ...
10 years, 2 months ago (2010-10-15 18:30:14 UTC) #7
James Hawkins
On 2010/10/15 18:30:14, GeorgeY wrote: > On 2010/10/15 18:20:31, James Hawkins wrote: > > On ...
10 years, 2 months ago (2010-10-15 18:35:49 UTC) #8
GeorgeY
done
10 years, 2 months ago (2010-10-20 00:20:31 UTC) #9
dhollowa
http://codereview.chromium.org/3806008/diff/21001/22001 File chrome/browser/autofill/auto_fill_editor_gtk.cc (right): http://codereview.chromium.org/3806008/diff/21001/22001#newcode683 chrome/browser/autofill/auto_fill_editor_gtk.cc:683: COL_TITLE, UTF16ToUTF8((*i)->Label()).c_str(), I would expect to see a call ...
10 years, 2 months ago (2010-10-20 19:29:59 UTC) #10
GeorgeY
http://codereview.chromium.org/3806008/diff/21001/22001 File chrome/browser/autofill/auto_fill_editor_gtk.cc (right): http://codereview.chromium.org/3806008/diff/21001/22001#newcode683 chrome/browser/autofill/auto_fill_editor_gtk.cc:683: COL_TITLE, UTF16ToUTF8((*i)->Label()).c_str(), On 2010/10/20 19:29:59, dhollowa wrote: > I ...
10 years, 2 months ago (2010-10-20 22:59:00 UTC) #11
GeorgeY
Fixing broken unit-test...
10 years, 2 months ago (2010-10-22 00:32:22 UTC) #12
dhollowa
We should make the Mac side consistent too then. Please remove |UpdateProfileLabels| and calls to ...
10 years, 2 months ago (2010-10-22 20:37:36 UTC) #13
GeorgeY
On 2010/10/22 20:37:36, dhollowa wrote: > We should make the Mac side consistent too then. ...
10 years, 2 months ago (2010-10-22 20:44:45 UTC) #14
dhollowa
LGTM. Thanks.
10 years, 2 months ago (2010-10-22 20:51:46 UTC) #15
James Hawkins
10 years, 2 months ago (2010-10-25 20:26:42 UTC) #16
LGTM, thanks for making the changes.

Powered by Google App Engine
This is Rietveld 408576698