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

Side by Side Diff: device/bluetooth/test/bluetooth_test_bluez.h

Issue 2076433002: Revert of Add support in Chrome to send notifications to a specific device. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « device/bluetooth/test/bluetooth_test.cc ('k') | device/bluetooth/test/bluetooth_test_bluez.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_TEST_BLUETOOTH_TEST_BLUEZ_H_ 5 #ifndef DEVICE_BLUETOOTH_TEST_BLUETOOTH_TEST_BLUEZ_H_
6 #define DEVICE_BLUETOOTH_TEST_BLUETOOTH_TEST_BLUEZ_H_ 6 #define DEVICE_BLUETOOTH_TEST_BLUETOOTH_TEST_BLUEZ_H_
7 7
8 #include <cstdint> 8 #include <cstdint>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const base::Closure& error_callback) override; 52 const base::Closure& error_callback) override;
53 void SimulateLocalGattDescriptorValueWriteRequest( 53 void SimulateLocalGattDescriptorValueWriteRequest(
54 BluetoothDevice* from_device, 54 BluetoothDevice* from_device,
55 BluetoothLocalGattDescriptor* descriptor, 55 BluetoothLocalGattDescriptor* descriptor,
56 const std::vector<uint8_t>& value_to_write, 56 const std::vector<uint8_t>& value_to_write,
57 const base::Closure& success_callback, 57 const base::Closure& success_callback,
58 const base::Closure& error_callback) override; 58 const base::Closure& error_callback) override;
59 bool SimulateLocalGattCharacteristicNotificationsRequest( 59 bool SimulateLocalGattCharacteristicNotificationsRequest(
60 BluetoothLocalGattCharacteristic* characteristic, 60 BluetoothLocalGattCharacteristic* characteristic,
61 bool start) override; 61 bool start) override;
62 NotificationType LastNotifactionValueForCharacteristic( 62 std::vector<uint8_t> LastNotifactionValueForCharacteristic(
63 BluetoothLocalGattCharacteristic* characteristic) override; 63 BluetoothLocalGattCharacteristic* characteristic) override;
64 std::vector<BluetoothLocalGattService*> RegisteredGattServices() override; 64 std::vector<BluetoothLocalGattService*> RegisteredGattServices() override;
65 65
66 private: 66 private:
67 bluez::FakeBluetoothDeviceClient* fake_bluetooth_device_client_; 67 bluez::FakeBluetoothDeviceClient* fake_bluetooth_device_client_;
68 }; 68 };
69 69
70 // Defines common test fixture name. Use TEST_F(BluetoothTest, YourTestName). 70 // Defines common test fixture name. Use TEST_F(BluetoothTest, YourTestName).
71 using BluetoothTest = BluetoothTestBlueZ; 71 using BluetoothTest = BluetoothTestBlueZ;
72 72
73 } // namespace device 73 } // namespace device
74 74
75 #endif // DEVICE_BLUETOOTH_TEST_BLUETOOTH_TEST_BLUEZ_H_ 75 #endif // DEVICE_BLUETOOTH_TEST_BLUETOOTH_TEST_BLUEZ_H_
OLDNEW
« no previous file with comments | « device/bluetooth/test/bluetooth_test.cc ('k') | device/bluetooth/test/bluetooth_test_bluez.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698