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

Side by Side Diff: device/bluetooth/dbus/fake_bluetooth_media_endpoint_service_provider.h

Issue 2856383002: Roll googletest to 1.7.0+. (Closed)
Patch Set: Rebase to get past http://crrev.com/2789433004 Created 3 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 unified diff | Download patch
« no previous file with comments | « build/secondary/testing/gtest/BUILD.gn ('k') | testing/gmock/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « build/secondary/testing/gtest/BUILD.gn ('k') | testing/gmock/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698