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

Issue 2254983002: Remove test-only constructor from CreditCard. (Closed)

Created:
4 years, 4 months ago by please use gerrit instead
Modified:
4 years, 4 months ago
Reviewers:
michaeln, msw, Evan Stade
CC:
chromium-reviews, msramek+watch_chromium.org, rouslan+autofill_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, markusheintz_
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove test-only constructor from CreditCard. BUG=637896 Committed: https://crrev.com/4d2cbc629a956f52ecee1323d7757c3274a143ba Cr-Commit-Position: refs/heads/master@{#413815}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use the existing utility #

Total comments: 4

Patch Set 3 : Use default constructor and nix guid include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -74 lines) Patch
M chrome/browser/browsing_data/autofill_counter_browsertest.cc View 1 7 chunks +16 lines, -16 lines 0 comments Download
M chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M components/autofill/core/browser/autofill_external_delegate_unittest.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics_unittest.cc View 1 1 chunk +11 lines, -10 lines 0 comments Download
M components/autofill/core/browser/credit_card.h View 1 chunk +0 lines, -3 lines 0 comments Download
M components/autofill/core/browser/credit_card.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M components/autofill/core/browser/credit_card_unittest.cc View 1 2 2 chunks +3 lines, -12 lines 0 comments Download
M components/autofill/core/browser/payments/full_card_request_unittest.cc View 1 9 chunks +26 lines, -19 lines 0 comments Download

Messages

Total messages: 34 (22 generated)
please use gerrit instead
Evan, ptal.
4 years, 4 months ago (2016-08-18 00:29:19 UTC) #12
Evan Stade
https://codereview.chromium.org/2254983002/diff/20001/components/autofill/core/browser/autofill_external_delegate_unittest.cc File components/autofill/core/browser/autofill_external_delegate_unittest.cc (right): https://codereview.chromium.org/2254983002/diff/20001/components/autofill/core/browser/autofill_external_delegate_unittest.cc#newcode625 components/autofill/core/browser/autofill_external_delegate_unittest.cc:625: CreditCard card(base::GenerateGUID(), std::string()); I'd suggest adding something to autofill_test_utils ...
4 years, 4 months ago (2016-08-18 00:48:56 UTC) #13
please use gerrit instead
Evan, ptal patch 2. https://codereview.chromium.org/2254983002/diff/20001/components/autofill/core/browser/autofill_external_delegate_unittest.cc File components/autofill/core/browser/autofill_external_delegate_unittest.cc (right): https://codereview.chromium.org/2254983002/diff/20001/components/autofill/core/browser/autofill_external_delegate_unittest.cc#newcode625 components/autofill/core/browser/autofill_external_delegate_unittest.cc:625: CreditCard card(base::GenerateGUID(), std::string()); On 2016/08/18 ...
4 years, 4 months ago (2016-08-19 23:05:49 UTC) #15
Evan Stade
thanks, lgtm
4 years, 4 months ago (2016-08-22 14:52:16 UTC) #19
please use gerrit instead
michaeln, owners ptal autofill_counter_browsertest.cc (first file). Miguel, owners ptal credit_card_scanner_view_android.cc (second file).
4 years, 4 months ago (2016-08-22 16:26:05 UTC) #21
michaeln
> michaeln, owners ptal autofill_counter_browsertest.cc (first file). r/s lgtm
4 years, 4 months ago (2016-08-22 19:32:32 UTC) #22
please use gerrit instead
msw, owners ptal credit_card_scanner_view_android.cc (second file)
4 years, 4 months ago (2016-08-23 18:15:15 UTC) #25
msw
lgtm with nits. https://codereview.chromium.org/2254983002/diff/40001/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc File chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc (right): https://codereview.chromium.org/2254983002/diff/40001/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc#newcode77 chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc:77: CreditCard card(base::GenerateGUID(), std::string()); optional nit: use ...
4 years, 4 months ago (2016-08-23 18:23:04 UTC) #26
please use gerrit instead
Sending to cq. https://codereview.chromium.org/2254983002/diff/40001/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc File chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc (right): https://codereview.chromium.org/2254983002/diff/40001/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc#newcode77 chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc:77: CreditCard card(base::GenerateGUID(), std::string()); On 2016/08/23 18:23:03, ...
4 years, 4 months ago (2016-08-23 18:42:32 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2254983002/60001
4 years, 4 months ago (2016-08-23 18:44:39 UTC) #30
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 4 months ago (2016-08-23 19:41:37 UTC) #32
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 19:42:49 UTC) #34
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4d2cbc629a956f52ecee1323d7757c3274a143ba
Cr-Commit-Position: refs/heads/master@{#413815}

Powered by Google App Engine
This is Rietveld 408576698