| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TASK_MANAGER_WIN_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_TASK_MANAGER_WIN_H_ |
| 6 #define DEVICE_BLUETOOTH_BLUETOOTH_TASK_MANAGER_WIN_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_TASK_MANAGER_WIN_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 const base::FilePath& device_path, | 193 const base::FilePath& device_path, |
| 194 ScopedVector<ServiceRecordState>* service_record_states); | 194 ScopedVector<ServiceRecordState>* service_record_states); |
| 195 | 195 |
| 196 // UI task runner reference. | 196 // UI task runner reference. |
| 197 scoped_refptr<base::SequencedTaskRunner> ui_task_runner_; | 197 scoped_refptr<base::SequencedTaskRunner> ui_task_runner_; |
| 198 | 198 |
| 199 scoped_refptr<base::SequencedWorkerPool> worker_pool_; | 199 scoped_refptr<base::SequencedWorkerPool> worker_pool_; |
| 200 scoped_refptr<base::SequencedTaskRunner> bluetooth_task_runner_; | 200 scoped_refptr<base::SequencedTaskRunner> bluetooth_task_runner_; |
| 201 | 201 |
| 202 // List of observers interested in event notifications. | 202 // List of observers interested in event notifications. |
| 203 ObserverList<Observer> observers_; | 203 base::ObserverList<Observer> observers_; |
| 204 | 204 |
| 205 // Adapter handle owned by bluetooth task runner. | 205 // Adapter handle owned by bluetooth task runner. |
| 206 base::win::ScopedHandle adapter_handle_; | 206 base::win::ScopedHandle adapter_handle_; |
| 207 | 207 |
| 208 // indicates whether the adapter is in discovery mode or not. | 208 // indicates whether the adapter is in discovery mode or not. |
| 209 bool discovering_; | 209 bool discovering_; |
| 210 | 210 |
| 211 // Use for discarding too many log messages. | 211 // Use for discarding too many log messages. |
| 212 base::TimeTicks current_logging_batch_ticks_; | 212 base::TimeTicks current_logging_batch_ticks_; |
| 213 int current_logging_batch_count_; | 213 int current_logging_batch_count_; |
| 214 | 214 |
| 215 DISALLOW_COPY_AND_ASSIGN(BluetoothTaskManagerWin); | 215 DISALLOW_COPY_AND_ASSIGN(BluetoothTaskManagerWin); |
| 216 }; | 216 }; |
| 217 | 217 |
| 218 } // namespace device | 218 } // namespace device |
| 219 | 219 |
| 220 #endif // DEVICE_BLUETOOTH_BLUETOOTH_TASK_MANAGER_WIN_H_ | 220 #endif // DEVICE_BLUETOOTH_BLUETOOTH_TASK_MANAGER_WIN_H_ |
| OLD | NEW |