OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_UTIL_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_UTIL_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_UTIL_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_UTIL_H_ |
7 | 7 |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "components/autofill/core/browser/autofill_profile.h" | 9 #include "components/autofill/core/browser/autofill_profile.h" |
10 #include "grit/components_scaled_resources.h" | |
11 | 10 |
12 namespace autofill { | 11 namespace autofill { |
13 namespace data_util { | 12 namespace data_util { |
14 | 13 |
15 struct NameParts { | 14 struct NameParts { |
16 base::string16 given; | 15 base::string16 given; |
17 base::string16 middle; | 16 base::string16 middle; |
18 base::string16 family; | 17 base::string16 family; |
19 }; | 18 }; |
20 | 19 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 const PaymentRequestData& GetPaymentRequestData(const std::string& type); | 52 const PaymentRequestData& GetPaymentRequestData(const std::string& type); |
54 | 53 |
55 // Returns the autofill credit card type string for the provided Payment Request | 54 // Returns the autofill credit card type string for the provided Payment Request |
56 // API basic card payment spec |type|. | 55 // API basic card payment spec |type|. |
57 const char* GetCardTypeForBasicCardPaymentType(const std::string& type); | 56 const char* GetCardTypeForBasicCardPaymentType(const std::string& type); |
58 | 57 |
59 } // namespace data_util | 58 } // namespace data_util |
60 } // namespace autofill | 59 } // namespace autofill |
61 | 60 |
62 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_UTIL_H_ | 61 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_UTIL_H_ |
OLD | NEW |