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

Unified Diff: components/autofill/content/browser/wallet/wallet_test_util.h

Issue 1288093004: rAc Wallet extirpation round 4: clean out RPC code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gn Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/content/browser/wallet/wallet_test_util.h
diff --git a/components/autofill/content/browser/wallet/wallet_test_util.h b/components/autofill/content/browser/wallet/wallet_test_util.h
index b9f4fc2f05ffce924256a0f540a5f0611040d1b1..cd9fb17dd46c9cb6f324201c29b864c2520169f0 100644
--- a/components/autofill/content/browser/wallet/wallet_test_util.h
+++ b/components/autofill/content/browser/wallet/wallet_test_util.h
@@ -8,58 +8,23 @@
#include <vector>
#include "base/memory/scoped_ptr.h"
-#include "components/autofill/content/browser/wallet/wallet_items.h"
+#include "base/strings/string16.h"
namespace autofill {
namespace wallet {
class Address;
class FullWallet;
-class GaiaAccount;
-class Instrument;
-scoped_ptr<GaiaAccount> GetTestGaiaAccount();
std::vector<base::string16> StreetAddress(const std::string& line1,
const std::string& line2);
scoped_ptr<Address> GetTestAddress();
scoped_ptr<Address> GetTestMinimalAddress();
scoped_ptr<FullWallet> GetTestFullWallet();
-scoped_ptr<FullWallet> GetTestFullWalletWithRequiredActions(
- const std::vector<RequiredAction>& action);
scoped_ptr<FullWallet> GetTestFullWalletInstrumentOnly();
-scoped_ptr<Instrument> GetTestInstrument();
-scoped_ptr<Instrument> GetTestAddressUpgradeInstrument();
-scoped_ptr<Instrument> GetTestExpirationDateChangeInstrument();
-scoped_ptr<Instrument> GetTestAddressNameChangeInstrument();
-scoped_ptr<WalletItems::LegalDocument> GetTestLegalDocument();
-scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrument();
-scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentExpired();
-scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentInvalid();
-scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentAmex(
- AmexPermission amex_permission);
-scoped_ptr<WalletItems::MaskedInstrument> GetTestNonDefaultMaskedInstrument();
-scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentWithId(
- const std::string& id);
-scoped_ptr<WalletItems::MaskedInstrument>
- GetTestMaskedInstrumentWithIdAndAddress(
- const std::string& id, scoped_ptr<Address> address);
-scoped_ptr<WalletItems::MaskedInstrument> GetTestMaskedInstrumentWithDetails(
- const std::string& id,
- scoped_ptr<Address> address,
- WalletItems::MaskedInstrument::Type type,
- WalletItems::MaskedInstrument::Status status);
scoped_ptr<Address> GetTestSaveableAddress();
scoped_ptr<Address> GetTestShippingAddress();
scoped_ptr<Address> GetTestNonDefaultShippingAddress();
-scoped_ptr<WalletItems> GetTestWalletItemsWithRequiredAction(
- RequiredAction action);
-scoped_ptr<WalletItems> GetTestWalletItems(AmexPermission amex_permission);
-scoped_ptr<WalletItems> GetTestWalletItemsWithUsers(
- const std::vector<std::string>& users, size_t user_index);
-scoped_ptr<WalletItems> GetTestWalletItemsWithDefaultIds(
- const std::string& default_instrument_id,
- const std::string& default_address_id,
- AmexPermission amex_permission);
} // namespace wallet
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698