OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "chrome/browser/autofill/wallet/wallet_test_util.h" | 5 #include "components/autofill/browser/wallet/wallet_test_util.h" |
6 | 6 |
7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
8 #include "chrome/browser/autofill/wallet/instrument.h" | 8 #include "components/autofill/browser/wallet/instrument.h" |
9 #include "chrome/browser/autofill/wallet/wallet_address.h" | 9 #include "components/autofill/browser/wallet/wallet_address.h" |
10 | 10 |
11 namespace autofill { | 11 namespace autofill { |
12 namespace wallet { | 12 namespace wallet { |
13 | 13 |
14 scoped_ptr<Instrument> GetTestInstrument() { | 14 scoped_ptr<Instrument> GetTestInstrument() { |
15 return scoped_ptr<Instrument>(new Instrument(ASCIIToUTF16("4444444444444448"), | 15 return scoped_ptr<Instrument>(new Instrument(ASCIIToUTF16("4444444444444448"), |
16 ASCIIToUTF16("123"), | 16 ASCIIToUTF16("123"), |
17 12, | 17 12, |
18 2012, | 18 2012, |
19 Instrument::VISA, | 19 Instrument::VISA, |
(...skipping 20 matching lines...) Expand all Loading... |
40 ASCIIToUTF16("address_line_2"), | 40 ASCIIToUTF16("address_line_2"), |
41 ASCIIToUTF16("locality_name"), | 41 ASCIIToUTF16("locality_name"), |
42 ASCIIToUTF16("admin_area_name"), | 42 ASCIIToUTF16("admin_area_name"), |
43 ASCIIToUTF16("postal_code_number"), | 43 ASCIIToUTF16("postal_code_number"), |
44 ASCIIToUTF16("phone_number"), | 44 ASCIIToUTF16("phone_number"), |
45 std::string())); | 45 std::string())); |
46 } | 46 } |
47 | 47 |
48 } // namespace wallet | 48 } // namespace wallet |
49 } // namespace autofill | 49 } // namespace autofill |
OLD | NEW |