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

Side by Side Diff: device/bluetooth/bluetooth_adapter_android.h

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.h ('k') | device/bluetooth/bluetooth_adapter_android.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_BLUETOOTH_ADAPTER_ANDROID_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_ANDROID_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_ANDROID_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_ANDROID_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void CreateRfcommService( 71 void CreateRfcommService(
72 const BluetoothUUID& uuid, 72 const BluetoothUUID& uuid,
73 const ServiceOptions& options, 73 const ServiceOptions& options,
74 const CreateServiceCallback& callback, 74 const CreateServiceCallback& callback,
75 const CreateServiceErrorCallback& error_callback) override; 75 const CreateServiceErrorCallback& error_callback) override;
76 void CreateL2capService( 76 void CreateL2capService(
77 const BluetoothUUID& uuid, 77 const BluetoothUUID& uuid,
78 const ServiceOptions& options, 78 const ServiceOptions& options,
79 const CreateServiceCallback& callback, 79 const CreateServiceCallback& callback,
80 const CreateServiceErrorCallback& error_callback) override; 80 const CreateServiceErrorCallback& error_callback) override;
81 void RegisterAudioSink(
82 const BluetoothAudioSink::Options& options,
83 const AcquiredCallback& callback,
84 const BluetoothAudioSink::ErrorCallback& error_callback) override;
85 void RegisterAdvertisement( 81 void RegisterAdvertisement(
86 std::unique_ptr<BluetoothAdvertisement::Data> advertisement_data, 82 std::unique_ptr<BluetoothAdvertisement::Data> advertisement_data,
87 const CreateAdvertisementCallback& callback, 83 const CreateAdvertisementCallback& callback,
88 const AdvertisementErrorCallback& error_callback) override; 84 const AdvertisementErrorCallback& error_callback) override;
89 BluetoothLocalGattService* GetGattService( 85 BluetoothLocalGattService* GetGattService(
90 const std::string& identifier) const override; 86 const std::string& identifier) const override;
91 87
92 // Called when adapter state changes. 88 // Called when adapter state changes.
93 void OnAdapterStateChanged(JNIEnv* env, 89 void OnAdapterStateChanged(JNIEnv* env,
94 const base::android::JavaParamRef<jobject>& caller, 90 const base::android::JavaParamRef<jobject>& caller,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // Note: This should remain the last member so it'll be destroyed and 140 // Note: This should remain the last member so it'll be destroyed and
145 // invalidate its weak pointers before any other members are destroyed. 141 // invalidate its weak pointers before any other members are destroyed.
146 base::WeakPtrFactory<BluetoothAdapterAndroid> weak_ptr_factory_; 142 base::WeakPtrFactory<BluetoothAdapterAndroid> weak_ptr_factory_;
147 143
148 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterAndroid); 144 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterAndroid);
149 }; 145 };
150 146
151 } // namespace device 147 } // namespace device
152 148
153 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_ANDROID_H_ 149 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_ANDROID_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_adapter.h ('k') | device/bluetooth/bluetooth_adapter_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698