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

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

Issue 236203018: win: Implement Bluetooth server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for #2 comments Created 6 years, 8 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
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_adapter_win.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 (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_ADAPTER_WIN_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 virtual void DiscoveryStarted(bool success) OVERRIDE; 65 virtual void DiscoveryStarted(bool success) OVERRIDE;
66 virtual void DiscoveryStopped() OVERRIDE; 66 virtual void DiscoveryStopped() OVERRIDE;
67 virtual void DevicesDiscovered( 67 virtual void DevicesDiscovered(
68 const ScopedVector<BluetoothTaskManagerWin::DeviceState>& devices) 68 const ScopedVector<BluetoothTaskManagerWin::DeviceState>& devices)
69 OVERRIDE; 69 OVERRIDE;
70 70
71 virtual void DevicesUpdated( 71 virtual void DevicesUpdated(
72 const ScopedVector<BluetoothTaskManagerWin::DeviceState>& devices) 72 const ScopedVector<BluetoothTaskManagerWin::DeviceState>& devices)
73 OVERRIDE; 73 OVERRIDE;
74 74
75 scoped_refptr<base::SequencedTaskRunner> ui_task_runner();
76 scoped_refptr<BluetoothSocketThreadWin> socket_thread();
rpaquay 2014/04/24 20:08:32 Sorry I didn't notice this earlier, but I think yo
xiyuan 2014/04/24 20:57:04 Done.
77
75 protected: 78 protected:
76 // BluetoothAdapter override 79 // BluetoothAdapter override
77 virtual void RemovePairingDelegateInternal( 80 virtual void RemovePairingDelegateInternal(
78 device::BluetoothDevice::PairingDelegate* pairing_delegate) OVERRIDE; 81 device::BluetoothDevice::PairingDelegate* pairing_delegate) OVERRIDE;
79 82
80 private: 83 private:
81 friend class BluetoothAdapterFactory; 84 friend class BluetoothAdapterFactory;
82 friend class BluetoothAdapterWinTest; 85 friend class BluetoothAdapterWinTest;
83 86
84 enum DiscoveryStatus { 87 enum DiscoveryStatus {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // NOTE: This should remain the last member so it'll be destroyed and 135 // NOTE: This should remain the last member so it'll be destroyed and
133 // invalidate its weak pointers before any other members are destroyed. 136 // invalidate its weak pointers before any other members are destroyed.
134 base::WeakPtrFactory<BluetoothAdapterWin> weak_ptr_factory_; 137 base::WeakPtrFactory<BluetoothAdapterWin> weak_ptr_factory_;
135 138
136 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterWin); 139 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterWin);
137 }; 140 };
138 141
139 } // namespace device 142 } // namespace device
140 143
141 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_ 144 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_adapter_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698