Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Side by Side Diff: chromeos/dbus/mock_bluetooth_out_of_band_client.h

Issue 11075006: Moved bluetooth adapter files to device/bluetooth/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: renamed 'bluetooth' target to 'device_bluetooth'. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_ 6 #define CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "chromeos/dbus/bluetooth_out_of_band_client.h" 11 #include "chromeos/dbus/bluetooth_out_of_band_client.h"
12 #include "chromeos/dbus/bluetooth_out_of_band_pairing_data.h" 12 #include "device/bluetooth/bluetooth_out_of_band_pairing_data.h"
13 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
14 14
15 namespace chromeos { 15 namespace chromeos {
16 16
17 class MockBluetoothOutOfBandClient : public BluetoothOutOfBandClient { 17 class MockBluetoothOutOfBandClient : public BluetoothOutOfBandClient {
18 public: 18 public:
19 MockBluetoothOutOfBandClient(); 19 MockBluetoothOutOfBandClient();
20 virtual ~MockBluetoothOutOfBandClient(); 20 virtual ~MockBluetoothOutOfBandClient();
21 21
22 MOCK_METHOD2(ReadLocalData, 22 MOCK_METHOD2(ReadLocalData,
23 void(const dbus::ObjectPath&, 23 void(const dbus::ObjectPath&,
24 const DataCallback&)); 24 const DataCallback&));
25 MOCK_METHOD4(AddRemoteData, 25 MOCK_METHOD4(AddRemoteData,
26 void(const dbus::ObjectPath&, 26 void(const dbus::ObjectPath&,
27 const std::string&, 27 const std::string&,
28 const BluetoothOutOfBandPairingData&, 28 const device::BluetoothOutOfBandPairingData&,
29 const SuccessCallback&)); 29 const SuccessCallback&));
30 MOCK_METHOD3(RemoveRemoteData, 30 MOCK_METHOD3(RemoveRemoteData,
31 void(const dbus::ObjectPath&, 31 void(const dbus::ObjectPath&,
32 const std::string&, 32 const std::string&,
33 const SuccessCallback&)); 33 const SuccessCallback&));
34 }; 34 };
35 35
36 } // namespace chromeos 36 } // namespace chromeos
37 37
38 #endif // CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_ 38 #endif // CHROMEOS_DBUS_MOCK_BLUETOOTH_OUT_OF_BAND_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698