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

Side by Side Diff: components/autofill/content/browser/wallet/wallet_test_util.h

Issue 17970003: New encryption/escrow endpoints for Wallet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing again... Created 7 years, 5 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 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 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_TEST_UTIL_H_ 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_TEST_UTIL_H_
6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_TEST_UTIL_H_ 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_TEST_UTIL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "components/autofill/content/browser/wallet/wallet_items.h" 9 #include "components/autofill/content/browser/wallet/wallet_items.h"
10 10
11 namespace autofill { 11 namespace autofill {
12 namespace wallet { 12 namespace wallet {
13 13
14 class Address; 14 class Address;
15 class FullWallet; 15 class FullWallet;
16 class Instrument; 16 class Instrument;
17 17
18 scoped_ptr<Address> GetTestAddress(); 18 scoped_ptr<Address> GetTestAddress();
19 scoped_ptr<Address> GetTestMinimalAddress(); 19 scoped_ptr<Address> GetTestMinimalAddress();
20 scoped_ptr<FullWallet> GetTestFullWallet(); 20 scoped_ptr<FullWallet> GetTestFullWallet();
21 scoped_ptr<Instrument> GetTestInstrument(); 21 scoped_ptr<Instrument> GetTestInstrument();
22 scoped_ptr<Instrument> GetTestAddressUpgradeInstrument();
23 scoped_ptr<Instrument> GetTestExpirationDateChangeInstrument();
24 scoped_ptr<Instrument> GetTestAddressNameChangeInstrument();
22 scoped_ptr<WalletItems::LegalDocument> GetTestLegalDocument(); 25 scoped_ptr<WalletItems::LegalDocument> GetTestLegalDocument();
23 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrument(); 26 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrument();
24 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentExpired(); 27 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentExpired();
25 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentInvalid(); 28 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentInvalid();
26 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentAmex(); 29 scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentAmex();
27 scoped_ptr<WalletItems::MaskedInstrument> GetTestNonDefaultMaskedInstrument(); 30 scoped_ptr<WalletItems::MaskedInstrument> GetTestNonDefaultMaskedInstrument();
28 scoped_ptr<WalletItems::MaskedInstrument> 31 scoped_ptr<WalletItems::MaskedInstrument>
29 GetTestMaskedInstrumentWithIdAndAddress( 32 GetTestMaskedInstrumentWithIdAndAddress(
30 const std::string& id, scoped_ptr<Address> address); 33 const std::string& id, scoped_ptr<Address> address);
31 scoped_ptr<Address> GetTestSaveableAddress(); 34 scoped_ptr<Address> GetTestSaveableAddress();
32 scoped_ptr<Address> GetTestShippingAddress(); 35 scoped_ptr<Address> GetTestShippingAddress();
33 scoped_ptr<Address> GetTestNonDefaultShippingAddress(); 36 scoped_ptr<Address> GetTestNonDefaultShippingAddress();
34 scoped_ptr<WalletItems> GetTestWalletItems(); 37 scoped_ptr<WalletItems> GetTestWalletItems();
35 38
36 } // namespace wallet 39 } // namespace wallet
37 } // namespace autofill 40 } // namespace autofill
38 41
39 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_TEST_UTIL_H_ 42 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698