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

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

Issue 12605008: D-Bus Clients for BlueZ 5 API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mock dbus thread manager without gmock? I didn't even know that was a thing! Created 7 years, 9 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
(Empty)
1 // Copyright (c) 2013 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_EXPERIMENTAL_BLUETOOTH_AGENT_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_EXPERIMENTAL_BLUETOOTH_AGENT_MANAGER_CLIENT_H_
7
8 #include <string>
9
10 #include "chromeos/dbus/experimental_bluetooth_agent_manager_client.h"
11 #include "testing/gmock/include/gmock/gmock.h"
12
13 namespace chromeos {
14
15 class MockExperimentalBluetoothAgentManagerClient
16 : public ExperimentalBluetoothAgentManagerClient {
17 public:
18 MockExperimentalBluetoothAgentManagerClient();
19 virtual ~MockExperimentalBluetoothAgentManagerClient();
20
21 MOCK_METHOD4(RegisterAgent, void(const dbus::ObjectPath&,
22 const std::string&,
23 const base::Closure&,
24 const ErrorCallback&));
25 MOCK_METHOD3(UnregisterAgent, void(const dbus::ObjectPath&,
26 const base::Closure&,
27 const ErrorCallback&));
28 MOCK_METHOD3(RequestDefaultAgent, void(const dbus::ObjectPath&,
29 const base::Closure&,
30 const ErrorCallback&));
31 };
32
33 } // namespace chromeos
34
35 #endif // CHROMEOS_DBUS_MOCK_EXPERIMENTAL_BLUETOOTH_AGENT_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698