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

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

Issue 2347293002: arc: Add InstanceHelper::GetInstanceForMethod() (Closed)
Patch Set: No more DCHECK Created 4 years, 3 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
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 <memory> 10 #include <memory>
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 private: 324 private:
325 mojo::Array<mojom::BluetoothPropertyPtr> GetDeviceProperties( 325 mojo::Array<mojom::BluetoothPropertyPtr> GetDeviceProperties(
326 mojom::BluetoothPropertyType type, 326 mojom::BluetoothPropertyType type,
327 device::BluetoothDevice* device) const; 327 device::BluetoothDevice* device) const;
328 mojo::Array<mojom::BluetoothPropertyPtr> GetAdapterProperties( 328 mojo::Array<mojom::BluetoothPropertyPtr> GetAdapterProperties(
329 mojom::BluetoothPropertyType type) const; 329 mojom::BluetoothPropertyType type) const;
330 mojo::Array<mojom::BluetoothAdvertisingDataPtr> GetAdvertisingData( 330 mojo::Array<mojom::BluetoothAdvertisingDataPtr> GetAdvertisingData(
331 device::BluetoothDevice* device) const; 331 device::BluetoothDevice* device) const;
332 332
333 void SendCachedDevicesFound() const; 333 void SendCachedDevicesFound() const;
334 bool HasBluetoothInstance() const;
335 bool CheckBluetoothInstanceVersion(uint32_t version_need) const;
336 334
337 device::BluetoothRemoteGattCharacteristic* FindGattCharacteristic( 335 device::BluetoothRemoteGattCharacteristic* FindGattCharacteristic(
338 mojom::BluetoothAddressPtr remote_addr, 336 mojom::BluetoothAddressPtr remote_addr,
339 mojom::BluetoothGattServiceIDPtr service_id, 337 mojom::BluetoothGattServiceIDPtr service_id,
340 mojom::BluetoothGattIDPtr char_id) const; 338 mojom::BluetoothGattIDPtr char_id) const;
341 339
342 device::BluetoothRemoteGattDescriptor* FindGattDescriptor( 340 device::BluetoothRemoteGattDescriptor* FindGattDescriptor(
343 mojom::BluetoothAddressPtr remote_addr, 341 mojom::BluetoothAddressPtr remote_addr,
344 mojom::BluetoothGattServiceIDPtr service_id, 342 mojom::BluetoothGattServiceIDPtr service_id,
345 mojom::BluetoothGattIDPtr char_id, 343 mojom::BluetoothGattIDPtr char_id,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 413
416 // WeakPtrFactory to use for callbacks. 414 // WeakPtrFactory to use for callbacks.
417 base::WeakPtrFactory<ArcBluetoothBridge> weak_factory_; 415 base::WeakPtrFactory<ArcBluetoothBridge> weak_factory_;
418 416
419 DISALLOW_COPY_AND_ASSIGN(ArcBluetoothBridge); 417 DISALLOW_COPY_AND_ASSIGN(ArcBluetoothBridge);
420 }; 418 };
421 419
422 } // namespace arc 420 } // namespace arc
423 421
424 #endif // COMPONENTS_ARC_BLUETOOTH_ARC_BLUETOOTH_BRIDGE_H_ 422 #endif // COMPONENTS_ARC_BLUETOOTH_ARC_BLUETOOTH_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_utils.cc ('k') | components/arc/bluetooth/arc_bluetooth_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698