OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_MEDIA_ENDPOINT_SERVICE_PROVIDER_H_ | 5 #ifndef DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_MEDIA_ENDPOINT_SERVICE_PROVIDER_H_ |
6 #define DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_MEDIA_ENDPOINT_SERVICE_PROVIDER_H_ | 6 #define DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_MEDIA_ENDPOINT_SERVICE_PROVIDER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "dbus/object_path.h" | 14 #include "dbus/object_path.h" |
15 #include "device/bluetooth/bluetooth_export.h" | 15 #include "device/bluetooth/bluetooth_export.h" |
16 #include "device/bluetooth/dbus/bluetooth_media_endpoint_service_provider.h" | 16 #include "device/bluetooth/dbus/bluetooth_media_endpoint_service_provider.h" |
17 #include "testing/gtest/include/gtest/gtest_prod.h" | 17 #include "testing/gtest/include/gtest/gtest_prod.h" // nogncheck |
Nico
2017/04/28 00:46:44
Can you explain why this is needed?
pwnall
2017/04/28 00:59:00
This appeases "gn check".
Longer version: gn's de
| |
18 | 18 |
19 namespace bluez { | 19 namespace bluez { |
20 | 20 |
21 // FakeBluetoothMediaEndpointServiceProvider simulates the behavior of a local | 21 // FakeBluetoothMediaEndpointServiceProvider simulates the behavior of a local |
22 // Bluetooth Media Endpoint object. | 22 // Bluetooth Media Endpoint object. |
23 class DEVICE_BLUETOOTH_EXPORT FakeBluetoothMediaEndpointServiceProvider | 23 class DEVICE_BLUETOOTH_EXPORT FakeBluetoothMediaEndpointServiceProvider |
24 : public BluetoothMediaEndpointServiceProvider { | 24 : public BluetoothMediaEndpointServiceProvider { |
25 public: | 25 public: |
26 FakeBluetoothMediaEndpointServiceProvider(const dbus::ObjectPath& object_path, | 26 FakeBluetoothMediaEndpointServiceProvider(const dbus::ObjectPath& object_path, |
27 Delegate* delegate); | 27 Delegate* delegate); |
(...skipping 20 matching lines...) Expand all Loading... | |
48 // |delegate_| will generate the response for those methods which have | 48 // |delegate_| will generate the response for those methods which have |
49 // non-void return. | 49 // non-void return. |
50 Delegate* delegate_; | 50 Delegate* delegate_; |
51 | 51 |
52 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothMediaEndpointServiceProvider); | 52 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothMediaEndpointServiceProvider); |
53 }; | 53 }; |
54 | 54 |
55 } // namespace bluez | 55 } // namespace bluez |
56 | 56 |
57 #endif // DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_MEDIA_ENDPOINT_SERVICE_PROVIDER_ H_ | 57 #endif // DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_MEDIA_ENDPOINT_SERVICE_PROVIDER_ H_ |
OLD | NEW |