OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "chromeos/dbus/bluetooth_out_of_band_client.h" |
| 12 #include "testing/gmock/include/gmock/gmock.h" |
| 13 |
| 14 namespace chromeos { |
| 15 |
| 16 class MockBluetoothOutOfBandClient : public BluetoothOutOfBandClient { |
| 17 public: |
| 18 MockBluetoothOutOfBandClient(); |
| 19 virtual ~MockBluetoothOutOfBandClient(); |
| 20 |
| 21 MOCK_METHOD2(ReadLocalData, |
| 22 void(const dbus::ObjectPath&, |
| 23 const DataCallback&)); |
| 24 MOCK_METHOD4(AddRemoteData, |
| 25 void(const dbus::ObjectPath&, |
| 26 const std::string&, |
| 27 const BluetoothOutOfBandPairingData&, |
| 28 const SuccessCallback&)); |
| 29 MOCK_METHOD3(RemoveRemoteData, |
| 30 void(const dbus::ObjectPath&, |
| 31 const std::string&, |
| 32 const SuccessCallback&)); |
| 33 }; |
| 34 |
| 35 } // namespace chromeos |
| 36 |
| 37 #endif // CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_ |
OLD | NEW |