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

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

Issue 10546010: Implement support for the OOB Pairing APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: refactor to create BluetoothOutOfBandClient Created 8 years, 6 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_ADAPTER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_MOCK_BLUETOOTH_ADAPTER_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_BLUETOOTH_ADAPTER_CLIENT_H_ 6 #define CHROMEOS_DBUS_MOCK_BLUETOOTH_ADAPTER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h"
keybuk 2012/06/08 20:06:39 is this a hold-over from an earlier patch?
bryeung 2012/06/14 15:31:08 removed
10 #include "chromeos/dbus/bluetooth_adapter_client.h" 11 #include "chromeos/dbus/bluetooth_adapter_client.h"
11 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
12 13
13 namespace chromeos { 14 namespace chromeos {
14 15
15 class MockBluetoothAdapterClient : public BluetoothAdapterClient { 16 class MockBluetoothAdapterClient : public BluetoothAdapterClient {
16 public: 17 public:
17 MockBluetoothAdapterClient(); 18 MockBluetoothAdapterClient();
18 virtual ~MockBluetoothAdapterClient(); 19 virtual ~MockBluetoothAdapterClient();
19 20
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const std::string&, 53 const std::string&,
53 const AdapterCallback&)); 54 const AdapterCallback&));
54 MOCK_METHOD3(UnregisterAgent, void(const dbus::ObjectPath&, 55 MOCK_METHOD3(UnregisterAgent, void(const dbus::ObjectPath&,
55 const dbus::ObjectPath&, 56 const dbus::ObjectPath&,
56 const AdapterCallback&)); 57 const AdapterCallback&));
57 }; 58 };
58 59
59 } // namespace chromeos 60 } // namespace chromeos
60 61
61 #endif // CHROMEOS_DBUS_MOCK_BLUETOOTH_ADAPTER_CLIENT_H_ 62 #endif // CHROMEOS_DBUS_MOCK_BLUETOOTH_ADAPTER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698