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

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

Issue 1119513002: Apply automated fixits for Chrome clang plugin to device. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | 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_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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // |options.channel| is null. |success_callback| will be called if the service 44 // |options.channel| is null. |success_callback| will be called if the service
45 // is successfully registered, |error_callback| on failure with a message 45 // is successfully registered, |error_callback| on failure with a message
46 // explaining the cause. 46 // explaining the cause.
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() override;
55 55
56 // BluetoothSocket: 56 // BluetoothSocket:
57 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 ~BluetoothSocketWin() override; 61 ~BluetoothSocketWin() override;
62 62
63 private: 63 private:
64 struct ServiceRegData; 64 struct ServiceRegData;
(...skipping 27 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 | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698