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

Side by Side Diff: device/bluetooth/bluetooth_adapter_unittest.cc

Issue 2389753003: Delete unused BluetoothAudioSink code. (Closed)
Patch Set: Created 4 years, 2 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/bluetooth_adapter_mac.mm ('k') | device/bluetooth/bluetooth_adapter_win.h » ('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 #include "device/bluetooth/bluetooth_adapter.h" 5 #include "device/bluetooth/bluetooth_adapter.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const ServiceOptions& options, 87 const ServiceOptions& options,
88 const CreateServiceCallback& callback, 88 const CreateServiceCallback& callback,
89 const CreateServiceErrorCallback& error_callback) override {} 89 const CreateServiceErrorCallback& error_callback) override {}
90 90
91 void CreateL2capService( 91 void CreateL2capService(
92 const BluetoothUUID& uuid, 92 const BluetoothUUID& uuid,
93 const ServiceOptions& options, 93 const ServiceOptions& options,
94 const CreateServiceCallback& callback, 94 const CreateServiceCallback& callback,
95 const CreateServiceErrorCallback& error_callback) override {} 95 const CreateServiceErrorCallback& error_callback) override {}
96 96
97 void RegisterAudioSink(
98 const BluetoothAudioSink::Options& options,
99 const AcquiredCallback& callback,
100 const BluetoothAudioSink::ErrorCallback& error_callback) override {}
101
102 void RegisterAdvertisement( 97 void RegisterAdvertisement(
103 std::unique_ptr<BluetoothAdvertisement::Data> advertisement_data, 98 std::unique_ptr<BluetoothAdvertisement::Data> advertisement_data,
104 const CreateAdvertisementCallback& callback, 99 const CreateAdvertisementCallback& callback,
105 const AdvertisementErrorCallback& error_callback) override {} 100 const AdvertisementErrorCallback& error_callback) override {}
106 101
107 #if defined(OS_CHROMEOS) || defined(OS_LINUX) 102 #if defined(OS_CHROMEOS) || defined(OS_LINUX)
108 void SetAdvertisingInterval( 103 void SetAdvertisingInterval(
109 const base::TimeDelta& min, 104 const base::TimeDelta& min,
110 const base::TimeDelta& max, 105 const base::TimeDelta& max,
111 const base::Closure& callback, 106 const base::Closure& callback,
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 GetConnectErrorCallback(Call::NOT_EXPECTED)); 859 GetConnectErrorCallback(Call::NOT_EXPECTED));
865 SimulateGattConnection(device); 860 SimulateGattConnection(device);
866 EXPECT_EQ(1u, adapter_->GetDevices().size()); 861 EXPECT_EQ(1u, adapter_->GetDevices().size());
867 RemoveTimedOutDevices(); 862 RemoveTimedOutDevices();
868 EXPECT_EQ(0, observer.device_removed_count()); 863 EXPECT_EQ(0, observer.device_removed_count());
869 EXPECT_EQ(1u, adapter_->GetDevices().size()); 864 EXPECT_EQ(1u, adapter_->GetDevices().size());
870 } 865 }
871 #endif // defined(OS_ANDROID) || defined(OS_MACOSX) 866 #endif // defined(OS_ANDROID) || defined(OS_MACOSX)
872 867
873 } // namespace device 868 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_adapter_mac.mm ('k') | device/bluetooth/bluetooth_adapter_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698