| Index: chromeos/dbus/mock_bluetooth_out_of_band_client.h
|
| diff --git a/chromeos/dbus/mock_bluetooth_out_of_band_client.h b/chromeos/dbus/mock_bluetooth_out_of_band_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0a569954132196d7d1b1fe3ce5457cf9dde5ef52
|
| --- /dev/null
|
| +++ b/chromeos/dbus/mock_bluetooth_out_of_band_client.h
|
| @@ -0,0 +1,37 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_
|
| +#define CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "chromeos/dbus/bluetooth_out_of_band_client.h"
|
| +#include "testing/gmock/include/gmock/gmock.h"
|
| +
|
| +namespace chromeos {
|
| +
|
| +class MockBluetoothOutOfBandClient : public BluetoothOutOfBandClient {
|
| + public:
|
| + MockBluetoothOutOfBandClient();
|
| + virtual ~MockBluetoothOutOfBandClient();
|
| +
|
| + MOCK_METHOD2(ReadLocalData,
|
| + void(const dbus::ObjectPath&,
|
| + const DataCallback&));
|
| + MOCK_METHOD4(AddRemoteData,
|
| + void(const dbus::ObjectPath&,
|
| + const std::string&,
|
| + const BluetoothOutOfBandPairingData&,
|
| + const SuccessCallback&));
|
| + MOCK_METHOD3(RemoveRemoteData,
|
| + void(const dbus::ObjectPath&,
|
| + const std::string&,
|
| + const SuccessCallback&));
|
| +};
|
| +
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_
|
|
|