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

Side by Side Diff: components/autofill/browser/wallet/wallet_test_util.cc

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/autofill/browser/wallet/wallet_test_util.h ('k') | components/autofill/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698