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

Unified Diff: chromeos/dbus/mock_bluetooth_adapter_client.h

Issue 15020009: Bluetooth: remove legacy backend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/fake_old_bluetooth_manager_client.cc ('k') | chromeos/dbus/mock_bluetooth_adapter_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/mock_bluetooth_adapter_client.h
diff --git a/chromeos/dbus/mock_bluetooth_adapter_client.h b/chromeos/dbus/mock_bluetooth_adapter_client.h
deleted file mode 100644
index c1d5f1e1b21910be76040ae5747f0f1e58bd17a3..0000000000000000000000000000000000000000
--- a/chromeos/dbus/mock_bluetooth_adapter_client.h
+++ /dev/null
@@ -1,76 +0,0 @@
-// 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_ADAPTER_CLIENT_H_
-#define CHROMEOS_DBUS_MOCK_BLUETOOTH_ADAPTER_CLIENT_H_
-
-#include <string>
-
-#include "chromeos/dbus/bluetooth_adapter_client.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace chromeos {
-
-class MockBluetoothAdapterClient : public BluetoothAdapterClient {
- public:
- struct Properties : public BluetoothAdapterClient::Properties {
- Properties();
- virtual ~Properties();
-
- MOCK_METHOD0(ConnectSignals, void());
-
- MOCK_METHOD2(Get, void(dbus::PropertyBase* property,
- dbus::PropertySet::GetCallback callback));
- MOCK_METHOD0(GetAll, void());
- MOCK_METHOD2(Set, void(dbus::PropertyBase* property,
- dbus::PropertySet::SetCallback callback));
-
- MOCK_METHOD1(ChangedReceived, void(dbus::Signal*));
- };
-
- MockBluetoothAdapterClient();
- virtual ~MockBluetoothAdapterClient();
-
- MOCK_METHOD1(AddObserver, void(Observer*));
- MOCK_METHOD1(RemoveObserver, void(Observer*));
- MOCK_METHOD1(GetProperties, Properties*(const dbus::ObjectPath&));
- MOCK_METHOD2(RequestSession, void(const dbus::ObjectPath&,
- const AdapterCallback&));
- MOCK_METHOD2(ReleaseSession, void(const dbus::ObjectPath&,
- const AdapterCallback&));
- MOCK_METHOD2(StartDiscovery, void(const dbus::ObjectPath&,
- const AdapterCallback&));
- MOCK_METHOD2(StopDiscovery, void(const dbus::ObjectPath&,
- const AdapterCallback&));
- MOCK_METHOD3(FindDevice, void(const dbus::ObjectPath&,
- const std::string&,
- const DeviceCallback&));
- MOCK_METHOD4(CreateDevice, void(const dbus::ObjectPath&,
- const std::string&,
- const CreateDeviceCallback&,
- const CreateDeviceErrorCallback&));
- MOCK_METHOD6(CreatePairedDevice, void(const dbus::ObjectPath&,
- const std::string&,
- const dbus::ObjectPath&,
- const std::string&,
- const CreateDeviceCallback&,
- const CreateDeviceErrorCallback&));
- MOCK_METHOD3(CancelDeviceCreation, void(const dbus::ObjectPath&,
- const std::string&,
- const AdapterCallback&));
- MOCK_METHOD3(RemoveDevice, void(const dbus::ObjectPath&,
- const dbus::ObjectPath&,
- const AdapterCallback&));
- MOCK_METHOD4(RegisterAgent, void(const dbus::ObjectPath&,
- const dbus::ObjectPath&,
- const std::string&,
- const AdapterCallback&));
- MOCK_METHOD3(UnregisterAgent, void(const dbus::ObjectPath&,
- const dbus::ObjectPath&,
- const AdapterCallback&));
-};
-
-} // namespace chromeos
-
-#endif // CHROMEOS_DBUS_MOCK_BLUETOOTH_ADAPTER_CLIENT_H_
« no previous file with comments | « chromeos/dbus/fake_old_bluetooth_manager_client.cc ('k') | chromeos/dbus/mock_bluetooth_adapter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698