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

Side by Side Diff: components/autofill/core/browser/credit_card_unittest.cc

Issue 2712513004: Use a qualified path for grit-generated headers in components/ (Closed)
Patch Set: more checkdeps Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/guid.h" 7 #include "base/guid.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "components/autofill/core/browser/autofill_experiments.h" 13 #include "components/autofill/core/browser/autofill_experiments.h"
14 #include "components/autofill/core/browser/autofill_test_utils.h" 14 #include "components/autofill/core/browser/autofill_test_utils.h"
15 #include "components/autofill/core/browser/autofill_type.h" 15 #include "components/autofill/core/browser/autofill_type.h"
16 #include "components/autofill/core/browser/credit_card.h" 16 #include "components/autofill/core/browser/credit_card.h"
17 #include "components/autofill/core/browser/validation.h" 17 #include "components/autofill/core/browser/validation.h"
18 #include "components/autofill/core/common/autofill_constants.h" 18 #include "components/autofill/core/common/autofill_constants.h"
19 #include "components/autofill/core/common/form_field_data.h" 19 #include "components/autofill/core/common/form_field_data.h"
20 #include "components/grit/components_scaled_resources.h"
20 #include "components/variations/variations_params_manager.h" 21 #include "components/variations/variations_params_manager.h"
21 #include "grit/components_scaled_resources.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 23
24 using base::ASCIIToUTF16; 24 using base::ASCIIToUTF16;
25 using base::UTF8ToUTF16; 25 using base::UTF8ToUTF16;
26 26
27 namespace autofill { 27 namespace autofill {
28 28
29 const CreditCard::RecordType LOCAL_CARD = CreditCard::LOCAL_CARD; 29 const CreditCard::RecordType LOCAL_CARD = CreditCard::LOCAL_CARD;
30 const CreditCard::RecordType MASKED_SERVER_CARD = 30 const CreditCard::RecordType MASKED_SERVER_CARD =
31 CreditCard::MASKED_SERVER_CARD; 31 CreditCard::MASKED_SERVER_CARD;
(...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 credit_card0.GetLastUsedDateForDisplay(test_case.app_locale)); 951 credit_card0.GetLastUsedDateForDisplay(test_case.app_locale));
952 EXPECT_EQ(test_case.last_used_date, 952 EXPECT_EQ(test_case.last_used_date,
953 credit_card1.GetLastUsedDateForDisplay(test_case.app_locale)); 953 credit_card1.GetLastUsedDateForDisplay(test_case.app_locale));
954 EXPECT_EQ(test_case.last_used_year_ago, 954 EXPECT_EQ(test_case.last_used_year_ago,
955 credit_card2.GetLastUsedDateForDisplay(test_case.app_locale)); 955 credit_card2.GetLastUsedDateForDisplay(test_case.app_locale));
956 variation_params_.ClearAllVariationParams(); 956 variation_params_.ClearAllVariationParams();
957 } 957 }
958 } 958 }
959 959
960 } // namespace autofill 960 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698