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

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

Issue 1265023004: Revert of Bringing 4 more BluetoothTest.* unit tests to Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scheibtest
Patch Set: Created 5 years, 4 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/bluetooth_adapter_unittest.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_BLUETOOTH_ADAPTER_MAC_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_
7 7
8 #include <IOKit/IOReturn.h> 8 #include <IOKit/IOReturn.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // BluetoothAdapter override: 105 // BluetoothAdapter override:
106 void RemovePairingDelegateInternal( 106 void RemovePairingDelegateInternal(
107 device::BluetoothDevice::PairingDelegate* pairing_delegate) override; 107 device::BluetoothDevice::PairingDelegate* pairing_delegate) override;
108 108
109 private: 109 private:
110 // The length of time that must elapse since the last Inquiry response (on 110 // The length of time that must elapse since the last Inquiry response (on
111 // Classic devices) or call to BluetoothLowEnergyDevice::Update() (on Low 111 // Classic devices) or call to BluetoothLowEnergyDevice::Update() (on Low
112 // Energy) before a discovered device is considered to be no longer available. 112 // Energy) before a discovered device is considered to be no longer available.
113 const static NSTimeInterval kDiscoveryTimeoutSec; 113 const static NSTimeInterval kDiscoveryTimeoutSec;
114 114
115 friend class BluetoothTestMac;
116 friend class BluetoothAdapterMacTest; 115 friend class BluetoothAdapterMacTest;
117 friend class BluetoothLowEnergyCentralManagerBridge; 116 friend class BluetoothLowEnergyCentralManagerBridge;
118 117
119 BluetoothAdapterMac(); 118 BluetoothAdapterMac();
120 ~BluetoothAdapterMac() override; 119 ~BluetoothAdapterMac() override;
121 120
122 // BluetoothAdapter overrides: 121 // BluetoothAdapter overrides:
123 void AddDiscoverySession(BluetoothDiscoveryFilter* discovery_filter, 122 void AddDiscoverySession(BluetoothDiscoveryFilter* discovery_filter,
124 const base::Closure& callback, 123 const base::Closure& callback,
125 const ErrorCallback& error_callback) override; 124 const ErrorCallback& error_callback) override;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 scoped_refptr<base::SequencedTaskRunner> ui_task_runner_; 177 scoped_refptr<base::SequencedTaskRunner> ui_task_runner_;
179 178
180 base::WeakPtrFactory<BluetoothAdapterMac> weak_ptr_factory_; 179 base::WeakPtrFactory<BluetoothAdapterMac> weak_ptr_factory_;
181 180
182 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterMac); 181 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterMac);
183 }; 182 };
184 183
185 } // namespace device 184 } // namespace device
186 185
187 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ 186 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_
OLDNEW
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_adapter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698