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

Side by Side Diff: trunk/src/device/bluetooth/bluetooth_adapter_win.cc

Issue 14985007: Revert 198844 "Move sequenced_task_runner to base/task" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
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 #include "device/bluetooth/bluetooth_adapter_win.h" 5 #include "device/bluetooth/bluetooth_adapter_win.h"
6 6
7 #include <hash_set> 7 #include <hash_set>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/sequenced_task_runner.h"
12 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
13 #include "base/stl_util.h" 14 #include "base/stl_util.h"
14 #include "base/task/sequenced_task_runner.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/thread_task_runner_handle.h"
16 #include "device/bluetooth/bluetooth_device_win.h" 16 #include "device/bluetooth/bluetooth_device_win.h"
17 #include "device/bluetooth/bluetooth_task_manager_win.h" 17 #include "device/bluetooth/bluetooth_task_manager_win.h"
18 18
19 namespace device { 19 namespace device {
20 20
21 BluetoothAdapterWin::BluetoothAdapterWin(const InitCallback& init_callback) 21 BluetoothAdapterWin::BluetoothAdapterWin(const InitCallback& init_callback)
22 : BluetoothAdapter(), 22 : BluetoothAdapter(),
23 init_callback_(init_callback), 23 init_callback_(init_callback),
24 initialized_(false), 24 initialized_(false),
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 num_discovery_listeners_ -= on_stop_discovery_callbacks_.size(); 248 num_discovery_listeners_ -= on_stop_discovery_callbacks_.size();
249 on_stop_discovery_callbacks_.clear(); 249 on_stop_discovery_callbacks_.clear();
250 return; 250 return;
251 } 251 }
252 252
253 discovery_status_ = DISCOVERY_STOPPING; 253 discovery_status_ = DISCOVERY_STOPPING;
254 task_manager_->PostStopDiscoveryTask(); 254 task_manager_->PostStopDiscoveryTask();
255 } 255 }
256 256
257 } // namespace device 257 } // namespace device
OLDNEW
« no previous file with comments | « trunk/src/device/bluetooth/bluetooth_adapter_mac.mm ('k') | trunk/src/device/bluetooth/bluetooth_task_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698