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

Issue 14564003: Make PersonalDataManager use GetCreditCards() (rather than using credit_cards_ directly) so Autofill (Closed)

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

Description

Make PersonalDataManager use GetCreditCards() (rather than using credit_cards_ directly) so AutofillDialogControllerImpl is testable (i.e. GetCreditCardByGUID() acutally works). R=isherman@chromium.org,thestig@chromium.org BUG=none TEST=compiles Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=197799

Patch Set 1 #

Total comments: 4

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 6

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -63 lines) Patch
M chrome/browser/autofill/android/personal_data_manager_android.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autofill/android/personal_data_manager_android.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_browsertest.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/integration/two_client_autofill_sync_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/autofill_options_handler.cc View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M components/autofill/browser/autofill_manager.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M components/autofill/browser/personal_data_manager.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/autofill/browser/personal_data_manager.cc View 1 2 3 4 5 3 chunks +7 lines, -5 lines 0 comments Download
M components/autofill/browser/personal_data_manager_unittest.cc View 1 2 3 4 5 33 chunks +35 lines, -35 lines 0 comments Download
M components/autofill/browser/test_personal_data_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/browser/test_personal_data_manager.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
Dan Beam
7 years, 7 months ago (2013-04-30 04:58:08 UTC) #1
Ilya Sherman
LGTM with nits https://codereview.chromium.org/14564003/diff/1/components/autofill/browser/autofill_manager.cc File components/autofill/browser/autofill_manager.cc (left): https://codereview.chromium.org/14564003/diff/1/components/autofill/browser/autofill_manager.cc#oldcode343 components/autofill/browser/autofill_manager.cc:343: const std::vector<CreditCard*>& credit_cards = personal_data_->credit_cards(); nit: ...
7 years, 7 months ago (2013-04-30 08:20:28 UTC) #2
Dan Beam
https://codereview.chromium.org/14564003/diff/1/components/autofill/browser/autofill_manager.cc File components/autofill/browser/autofill_manager.cc (left): https://codereview.chromium.org/14564003/diff/1/components/autofill/browser/autofill_manager.cc#oldcode343 components/autofill/browser/autofill_manager.cc:343: const std::vector<CreditCard*>& credit_cards = personal_data_->credit_cards(); On 2013/04/30 08:20:29, Ilya ...
7 years, 7 months ago (2013-05-01 03:46:44 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/14564003/5011
7 years, 7 months ago (2013-05-01 03:52:34 UTC) #4
Dan Beam
+thestig@ for chrome/OWNERS rename stamp
7 years, 7 months ago (2013-05-01 04:01:51 UTC) #5
Lei Zhang
lgtm https://codereview.chromium.org/14564003/diff/5011/chrome/browser/autofill/autofill_browsertest.cc File chrome/browser/autofill/autofill_browsertest.cc (right): https://codereview.chromium.org/14564003/diff/5011/chrome/browser/autofill/autofill_browsertest.cc#newcode1141 chrome/browser/autofill/autofill_browsertest.cc:1141: ASSERT_EQ(cards[i], *personal_data_manager()->GetCreditCards()[i]); nits you may want to fix ...
7 years, 7 months ago (2013-05-01 04:08:52 UTC) #6
Dan Beam
isherman@ what do you think about thestig@'s nits? should I change in a followup CL? ...
7 years, 7 months ago (2013-05-01 04:19:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/14564003/13002
7 years, 7 months ago (2013-05-01 04:20:03 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-01 04:42:27 UTC) #9
Ilya Sherman
Fine either way for those nits
7 years, 7 months ago (2013-05-01 07:42:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/14564003/13002
7 years, 7 months ago (2013-05-01 10:31:25 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=109137
7 years, 7 months ago (2013-05-01 10:55:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/14564003/13002
7 years, 7 months ago (2013-05-01 18:16:30 UTC) #13
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-01 18:54:51 UTC) #14
Dan Beam
why the hell do we even have a CQ again?
7 years, 7 months ago (2013-05-01 19:32:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/14564003/13002
7 years, 7 months ago (2013-05-01 19:32:48 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-01 19:51:23 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/14564003/34001
7 years, 7 months ago (2013-05-01 23:19:12 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/14564003/45002
7 years, 7 months ago (2013-05-02 01:04:56 UTC) #19
commit-bot: I haz the power
7 years, 7 months ago (2013-05-02 03:20:40 UTC) #20
Message was sent while issue was closed.
Change committed as 197799

Powered by Google App Engine
This is Rietveld 408576698