| Index: components/autofill/core/browser/credit_card_unittest.cc
|
| diff --git a/components/autofill/core/browser/credit_card_unittest.cc b/components/autofill/core/browser/credit_card_unittest.cc
|
| index 805a7f1498278f8e76251e1cae4b68b831f77fc5..28823fb1e313326a5130aca5a23fcbbe1e33c2ef 100644
|
| --- a/components/autofill/core/browser/credit_card_unittest.cc
|
| +++ b/components/autofill/core/browser/credit_card_unittest.cc
|
| @@ -10,14 +10,9 @@
|
| #include "components/autofill/core/browser/credit_card.h"
|
| #include "components/autofill/core/browser/validation.h"
|
| #include "components/autofill/core/common/form_field_data.h"
|
| +#include "grit/component_scaled_resources.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| -// TODO(blundell): Eliminate the need for this conditional include.
|
| -// crbug.com/328150
|
| -#if !defined(OS_IOS)
|
| -#include "grit/webkit_resources.h"
|
| -#endif
|
| -
|
| using base::ASCIIToUTF16;
|
|
|
| namespace autofill {
|
| @@ -168,10 +163,6 @@ TEST(CreditCardTest, Compare) {
|
| EXPECT_LT(0, b.Compare(a));
|
| }
|
|
|
| -// TODO(blundell): Either move these resources out of webkit_resources or
|
| -// this test into //components/autofill/content/browser to eliminate the
|
| -// need for this ifdef-ing. crbug.com/328150
|
| -#if !defined(OS_IOS)
|
| // Test we get the correct icon for each card type.
|
| TEST(CreditCardTest, IconResourceId) {
|
| EXPECT_EQ(IDR_AUTOFILL_CC_AMEX,
|
| @@ -187,7 +178,6 @@ TEST(CreditCardTest, IconResourceId) {
|
| EXPECT_EQ(IDR_AUTOFILL_CC_VISA,
|
| CreditCard::IconResourceId(kVisaCard));
|
| }
|
| -#endif // !defined(OS_IOS)
|
|
|
| TEST(CreditCardTest, UpdateFromImportedCard) {
|
| CreditCard original_card(base::GenerateGUID(), "https://www.example.com");
|
|
|