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

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

Issue 11411130: Implemented BluetoothTaskManagerWin class. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed unnecessary lines. Created 8 years 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_MANAGER_WIN_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_MANAGER_WIN_H_
7
8 #include "base/threading/thread.h"
9
10 namespace device {
11
12 class BluetoothAdapterWin;
13
14 // A thread dedicated to perform blocking bluetooth APIs on Windows.
15 class BluetoothManagerWin : public base::Thread {
bryeung 2012/11/22 18:13:25 maybe something more descriptive like "BluetoothPo
youngki 2012/11/23 01:50:47 Done.
16 public:
17 BluetoothManagerWin();
18 virtual ~BluetoothManagerWin();
19
20 // Finds the bluetooth adapter and creates a handle for it. Then it returns
21 // the handle to the main thread through weak_ptr.
22 void FindAdapterHandleAndReply(base::WeakPtr<BluetoothAdapterWin> weak_ptr);
23
24 private:
25 virtual HANDLE FindAdapterHandle();
26 DISALLOW_COPY_AND_ASSIGN(BluetoothManagerWin);
27 };
28
29 } // namespace device
30
31 #endif // DEVICE_BLUETOOTH_BLUETOOTH_MANAGER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698