Add diagnostics_writer.cc to the list of files allowed to printf.
[chromium-blink-merge.git] / components / autofill / content / browser / wallet / mock_wallet_client.cc
blob10e84226ae01307373cf0de31bedfcc71fc89a10
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.
5 #include "components/autofill/content/browser/wallet/mock_wallet_client.h"
7 namespace autofill {
8 namespace wallet {
10 MockWalletClient::MockWalletClient(net::URLRequestContextGetter* context,
11 wallet::WalletClientDelegate* delegate,
12 const GURL& source_url)
13 : wallet::WalletClient(context, delegate, source_url) {}
15 MockWalletClient::~MockWalletClient() {}
17 void 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);
28 } // namespace wallet
29 } // namespace autofill