1 // Copyright (c) 2012 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 #ifndef CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_
10 #include "base/memory/scoped_ptr.h"
11 #include "chromeos/dbus/bluetooth_out_of_band_client.h"
12 #include "device/bluetooth/bluetooth_out_of_band_pairing_data.h"
13 #include "testing/gmock/include/gmock/gmock.h"
17 class MockBluetoothOutOfBandClient
: public BluetoothOutOfBandClient
{
19 MockBluetoothOutOfBandClient();
20 virtual ~MockBluetoothOutOfBandClient();
22 MOCK_METHOD2(ReadLocalData
,
23 void(const dbus::ObjectPath
&,
24 const DataCallback
&));
25 MOCK_METHOD4(AddRemoteData
,
26 void(const dbus::ObjectPath
&,
28 const device::BluetoothOutOfBandPairingData
&,
29 const SuccessCallback
&));
30 MOCK_METHOD3(RemoveRemoteData
,
31 void(const dbus::ObjectPath
&,
33 const SuccessCallback
&));
36 } // namespace chromeos
38 #endif // CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_