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

Side by Side Diff: components/arc/bluetooth/arc_bluetooth_bridge.h

Issue 2085083002: arc: bluetooth: Implement Gatt notify (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix version check Created 4 years, 5 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 | « no previous file | components/arc/bluetooth/arc_bluetooth_bridge.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 COMPONENTS_ARC_BLUETOOTH_ARC_BLUETOOTH_BRIDGE_H_ 5 #ifndef COMPONENTS_ARC_BLUETOOTH_ARC_BLUETOOTH_BRIDGE_H_
6 #define COMPONENTS_ARC_BLUETOOTH_ARC_BLUETOOTH_BRIDGE_H_ 6 #define COMPONENTS_ARC_BLUETOOTH_ARC_BLUETOOTH_BRIDGE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 mojo::Array<mojom::BluetoothPropertyPtr> GetDeviceProperties( 256 mojo::Array<mojom::BluetoothPropertyPtr> GetDeviceProperties(
257 mojom::BluetoothPropertyType type, 257 mojom::BluetoothPropertyType type,
258 device::BluetoothDevice* device) const; 258 device::BluetoothDevice* device) const;
259 mojo::Array<mojom::BluetoothPropertyPtr> GetAdapterProperties( 259 mojo::Array<mojom::BluetoothPropertyPtr> GetAdapterProperties(
260 mojom::BluetoothPropertyType type) const; 260 mojom::BluetoothPropertyType type) const;
261 mojo::Array<mojom::BluetoothAdvertisingDataPtr> GetAdvertisingData( 261 mojo::Array<mojom::BluetoothAdvertisingDataPtr> GetAdvertisingData(
262 device::BluetoothDevice* device) const; 262 device::BluetoothDevice* device) const;
263 263
264 void SendCachedDevicesFound() const; 264 void SendCachedDevicesFound() const;
265 bool HasBluetoothInstance() const; 265 bool HasBluetoothInstance() const;
266 bool CheckBluetoothInstanceVersion(int32_t version_need) const;
266 267
267 template <class T> 268 template <class T>
268 T* FindGattObjectFromUuid(const std::vector<T*> objs, 269 T* FindGattObjectFromUuid(const std::vector<T*> objs,
269 const device::BluetoothUUID uuid) const; 270 const device::BluetoothUUID uuid) const;
270 device::BluetoothRemoteGattCharacteristic* FindGattCharacteristic( 271 device::BluetoothRemoteGattCharacteristic* FindGattCharacteristic(
271 mojom::BluetoothAddressPtr remote_addr, 272 mojom::BluetoothAddressPtr remote_addr,
272 mojom::BluetoothGattServiceIDPtr service_id, 273 mojom::BluetoothGattServiceIDPtr service_id,
273 mojom::BluetoothGattIDPtr char_id) const; 274 mojom::BluetoothGattIDPtr char_id) const;
274 275
275 device::BluetoothRemoteGattDescriptor* FindGattDescriptor( 276 device::BluetoothRemoteGattDescriptor* FindGattDescriptor(
(...skipping 15 matching lines...) Expand all
291 292
292 // WeakPtrFactory to use for callbacks. 293 // WeakPtrFactory to use for callbacks.
293 base::WeakPtrFactory<ArcBluetoothBridge> weak_factory_; 294 base::WeakPtrFactory<ArcBluetoothBridge> weak_factory_;
294 295
295 DISALLOW_COPY_AND_ASSIGN(ArcBluetoothBridge); 296 DISALLOW_COPY_AND_ASSIGN(ArcBluetoothBridge);
296 }; 297 };
297 298
298 } // namespace arc 299 } // namespace arc
299 300
300 #endif // COMPONENTS_ARC_BLUETOOTH_ARC_BLUETOOTH_BRIDGE_H_ 301 #endif // COMPONENTS_ARC_BLUETOOTH_ARC_BLUETOOTH_BRIDGE_H_
OLDNEW
« no previous file with comments | « no previous file | components/arc/bluetooth/arc_bluetooth_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698