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
3// found in the LICENSE file.
4
5#include "components/autofill/content/browser/wallet/mock_wallet_client.h"
6
7namespace autofill {
8namespace wallet {
9
10MockWalletClient::MockWalletClient(net::URLRequestContextGetter* context,
11                                   wallet::WalletClientDelegate* delegate,
12                                   const GURL& source_url)
13    : wallet::WalletClient(context, delegate, source_url) {}
14
15MockWalletClient::~MockWalletClient() {}
16
17void MockWalletClient::SaveToWallet(
18    scoped_ptr<Instrument> instrument,
19    scoped_ptr<Address> address,
20    const WalletItems::MaskedInstrument* reference_instrument,
21    const Address* reference_address) {
22  SaveToWalletMock(instrument.get(),
23                   address.get(),
24                   reference_instrument,
25                   reference_address);
26}
27
28}  // namespace wallet
29}  // namespace autofill
30