OLD | NEW |
(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_ |
OLD | NEW |