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

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

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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 | « device/bluetooth/bluetooth_audio_sink_chromeos.h ('k') | device/core/device_monitor_win.h » ('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 (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
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_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_audio_sink_chromeos.h ('k') | device/core/device_monitor_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698