// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_TEST_UTIL_H_ #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_TEST_UTIL_H_ #include #include "base/memory/scoped_ptr.h" #include "components/autofill/content/browser/wallet/wallet_items.h" namespace autofill { namespace wallet { class Address; class FullWallet; class GaiaAccount; class Instrument; scoped_ptr GetTestGaiaAccount(); scoped_ptr
GetTestAddress(); scoped_ptr
GetTestMinimalAddress(); scoped_ptr GetTestFullWallet(); scoped_ptr GetTestFullWalletWithRequiredActions( const std::vector& action); scoped_ptr GetTestFullWalletInstrumentOnly(); scoped_ptr GetTestInstrument(); scoped_ptr GetTestAddressUpgradeInstrument(); scoped_ptr GetTestExpirationDateChangeInstrument(); scoped_ptr GetTestAddressNameChangeInstrument(); scoped_ptr GetTestLegalDocument(); scoped_ptr GetTestMaskedInstrument(); scoped_ptr GetTestMaskedInstrumentExpired(); scoped_ptr GetTestMaskedInstrumentInvalid(); scoped_ptr GetTestMaskedInstrumentAmex( AmexPermission amex_permission); scoped_ptr GetTestNonDefaultMaskedInstrument(); scoped_ptr GetTestMaskedInstrumentWithId( const std::string& id); scoped_ptr GetTestMaskedInstrumentWithIdAndAddress( const std::string& id, scoped_ptr
address); scoped_ptr GetTestMaskedInstrumentWithDetails( const std::string& id, scoped_ptr
address, WalletItems::MaskedInstrument::Type type, WalletItems::MaskedInstrument::Status status); scoped_ptr
GetTestSaveableAddress(); scoped_ptr
GetTestShippingAddress(); scoped_ptr
GetTestNonDefaultShippingAddress(); scoped_ptr GetTestWalletItemsWithRequiredAction( RequiredAction action); scoped_ptr GetTestWalletItems(AmexPermission amex_permission); scoped_ptr GetTestWalletItemsWithUsers( const std::vector& users, size_t user_index); scoped_ptr GetTestWalletItemsWithDefaultIds( const std::string& default_instrument_id, const std::string& default_address_id, AmexPermission amex_permission); } // namespace wallet } // namespace autofill #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_TEST_UTIL_H_