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

Side by Side Diff: device/bluetooth/bluez/bluetooth_adapter_bluez.h

Issue 2098653002: device/bluetooth/bluez: add discoverable timeout adapter property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing nits 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 | device/bluetooth/bluez/bluetooth_adapter_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BLUEZ_BLUETOOTH_ADAPTER_BLUEZ_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_ADAPTER_BLUEZ_H_
6 #define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_ADAPTER_BLUEZ_H_ 6 #define DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_ADAPTER_BLUEZ_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 bool IsInitialized() const override; 96 bool IsInitialized() const override;
97 bool IsPresent() const override; 97 bool IsPresent() const override;
98 bool IsPowered() const override; 98 bool IsPowered() const override;
99 void SetPowered(bool powered, 99 void SetPowered(bool powered,
100 const base::Closure& callback, 100 const base::Closure& callback,
101 const ErrorCallback& error_callback) override; 101 const ErrorCallback& error_callback) override;
102 bool IsDiscoverable() const override; 102 bool IsDiscoverable() const override;
103 void SetDiscoverable(bool discoverable, 103 void SetDiscoverable(bool discoverable,
104 const base::Closure& callback, 104 const base::Closure& callback,
105 const ErrorCallback& error_callback) override; 105 const ErrorCallback& error_callback) override;
106 uint32_t GetDiscoverableTimeout() const;
106 bool IsDiscovering() const override; 107 bool IsDiscovering() const override;
107 void CreateRfcommService( 108 void CreateRfcommService(
108 const device::BluetoothUUID& uuid, 109 const device::BluetoothUUID& uuid,
109 const ServiceOptions& options, 110 const ServiceOptions& options,
110 const CreateServiceCallback& callback, 111 const CreateServiceCallback& callback,
111 const CreateServiceErrorCallback& error_callback) override; 112 const CreateServiceErrorCallback& error_callback) override;
112 void CreateL2capService( 113 void CreateL2capService(
113 const device::BluetoothUUID& uuid, 114 const device::BluetoothUUID& uuid,
114 const ServiceOptions& options, 115 const ServiceOptions& options,
115 const CreateServiceCallback& callback, 116 const CreateServiceCallback& callback,
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 // Note: This should remain the last member so it'll be destroyed and 495 // Note: This should remain the last member so it'll be destroyed and
495 // invalidate its weak pointers before any other members are destroyed. 496 // invalidate its weak pointers before any other members are destroyed.
496 base::WeakPtrFactory<BluetoothAdapterBlueZ> weak_ptr_factory_; 497 base::WeakPtrFactory<BluetoothAdapterBlueZ> weak_ptr_factory_;
497 498
498 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterBlueZ); 499 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterBlueZ);
499 }; 500 };
500 501
501 } // namespace bluez 502 } // namespace bluez
502 503
503 #endif // DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_ADAPTER_BLUEZ_H_ 504 #endif // DEVICE_BLUETOOTH_BLUEZ_BLUETOOTH_ADAPTER_BLUEZ_H_
OLDNEW
« no previous file with comments | « no previous file | device/bluetooth/bluez/bluetooth_adapter_bluez.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698