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

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

Issue 13973004: Convert string16 -> base::string16 in components/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 "components/autofill/browser/wallet/wallet_test_util.h" 5 #include "components/autofill/browser/wallet/wallet_test_util.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 base::DictionaryValue dict; 42 base::DictionaryValue dict;
43 dict.SetString("legal_document_id", "document_id"); 43 dict.SetString("legal_document_id", "document_id");
44 dict.SetString("display_name", "display_name"); 44 dict.SetString("display_name", "display_name");
45 return wallet::WalletItems::LegalDocument::CreateLegalDocument(dict); 45 return wallet::WalletItems::LegalDocument::CreateLegalDocument(dict);
46 } 46 }
47 47
48 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrument() { 48 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrument() {
49 return scoped_ptr<WalletItems::MaskedInstrument>( 49 return scoped_ptr<WalletItems::MaskedInstrument>(
50 new WalletItems::MaskedInstrument(ASCIIToUTF16("descriptive_name"), 50 new WalletItems::MaskedInstrument(ASCIIToUTF16("descriptive_name"),
51 WalletItems::MaskedInstrument::UNKNOWN, 51 WalletItems::MaskedInstrument::UNKNOWN,
52 std::vector<string16>(), 52 std::vector<base::string16>(),
53 ASCIIToUTF16("last_four_digits"), 53 ASCIIToUTF16("last_four_digits"),
54 12, 54 12,
55 2012, 55 2012,
56 GetTestAddress(), 56 GetTestAddress(),
57 WalletItems::MaskedInstrument::EXPIRED, 57 WalletItems::MaskedInstrument::EXPIRED,
58 "instrument_id")); 58 "instrument_id"));
59 } 59 }
60 60
61 scoped_ptr<Address> GetTestSaveableAddress() { 61 scoped_ptr<Address> GetTestSaveableAddress() {
62 return scoped_ptr<Address>(new Address( 62 return scoped_ptr<Address>(new Address(
(...skipping 25 matching lines...) Expand all
88 return scoped_ptr<WalletItems>( 88 return scoped_ptr<WalletItems>(
89 new wallet::WalletItems(std::vector<RequiredAction>(), 89 new wallet::WalletItems(std::vector<RequiredAction>(),
90 "google_transaction_id", 90 "google_transaction_id",
91 "default_instrument_id", 91 "default_instrument_id",
92 "default_address_id", 92 "default_address_id",
93 "obfuscated_gaia_id")); 93 "obfuscated_gaia_id"));
94 } 94 }
95 95
96 } // namespace wallet 96 } // namespace wallet
97 } // namespace autofill 97 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698