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

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

Issue 1107433002: Update {virtual,override} to follow C++11 style in device. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync and git cl format Created 5 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
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_SOCKET_WIN_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_WIN_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_WIN_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_WIN_H_
7 7
8 #include <WinSock2.h> 8 #include <WinSock2.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 void Listen(scoped_refptr<BluetoothAdapter> adapter, 47 void Listen(scoped_refptr<BluetoothAdapter> adapter,
48 const BluetoothUUID& uuid, 48 const BluetoothUUID& uuid,
49 const BluetoothAdapter::ServiceOptions& options, 49 const BluetoothAdapter::ServiceOptions& options,
50 const base::Closure& success_callback, 50 const base::Closure& success_callback,
51 const ErrorCompletionCallback& error_callback); 51 const ErrorCompletionCallback& error_callback);
52 52
53 // BluetoothSocketNet: 53 // BluetoothSocketNet:
54 void ResetData(); 54 void ResetData();
55 55
56 // BluetoothSocket: 56 // BluetoothSocket:
57 virtual void Accept(const AcceptCompletionCallback& success_callback, 57 void Accept(const AcceptCompletionCallback& success_callback,
58 const ErrorCompletionCallback& error_callback) override; 58 const ErrorCompletionCallback& error_callback) override;
59 59
60 protected: 60 protected:
61 virtual ~BluetoothSocketWin(); 61 ~BluetoothSocketWin() override;
62 62
63 private: 63 private:
64 struct ServiceRegData; 64 struct ServiceRegData;
65 65
66 BluetoothSocketWin(scoped_refptr<base::SequencedTaskRunner> ui_task_runner, 66 BluetoothSocketWin(scoped_refptr<base::SequencedTaskRunner> ui_task_runner,
67 scoped_refptr<BluetoothSocketThread> socket_thread); 67 scoped_refptr<BluetoothSocketThread> socket_thread);
68 68
69 void DoConnect(const base::Closure& success_callback, 69 void DoConnect(const base::Closure& success_callback,
70 const ErrorCompletionCallback& error_callback); 70 const ErrorCompletionCallback& error_callback);
71 void DoListen(const BluetoothUUID& uuid, 71 void DoListen(const BluetoothUUID& uuid,
(...skipping 20 matching lines...) Expand all
92 scoped_ptr<ServiceRegData> service_reg_data_; 92 scoped_ptr<ServiceRegData> service_reg_data_;
93 scoped_ptr<net::TCPSocket> accept_socket_; 93 scoped_ptr<net::TCPSocket> accept_socket_;
94 net::IPEndPoint accept_address_; 94 net::IPEndPoint accept_address_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(BluetoothSocketWin); 96 DISALLOW_COPY_AND_ASSIGN(BluetoothSocketWin);
97 }; 97 };
98 98
99 } // namespace device 99 } // namespace device
100 100
101 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_WIN_H_ 101 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_WIN_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device_win.h ('k') | device/bluetooth/bluetooth_task_manager_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698