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

Side by Side Diff: net/socket/stream_socket.h

Issue 667923003: Standardize usage of virtual/override/final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « net/socket/stream_listen_socket.h ('k') | net/socket/tcp_client_socket.h » ('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 NET_SOCKET_STREAM_SOCKET_H_ 5 #ifndef NET_SOCKET_STREAM_SOCKET_H_
6 #define NET_SOCKET_STREAM_SOCKET_H_ 6 #define NET_SOCKET_STREAM_SOCKET_H_
7 7
8 #include "net/base/net_log.h" 8 #include "net/base/net_log.h"
9 #include "net/socket/next_proto.h" 9 #include "net/socket/next_proto.h"
10 #include "net/socket/socket.h" 10 #include "net/socket/socket.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 class AddressList; 14 class AddressList;
15 class IPEndPoint; 15 class IPEndPoint;
16 class SSLInfo; 16 class SSLInfo;
17 17
18 class NET_EXPORT_PRIVATE StreamSocket : public Socket { 18 class NET_EXPORT_PRIVATE StreamSocket : public Socket {
19 public: 19 public:
20 virtual ~StreamSocket() {} 20 ~StreamSocket() override {}
21 21
22 // Called to establish a connection. Returns OK if the connection could be 22 // Called to establish a connection. Returns OK if the connection could be
23 // established synchronously. Otherwise, ERR_IO_PENDING is returned and the 23 // established synchronously. Otherwise, ERR_IO_PENDING is returned and the
24 // given callback will run asynchronously when the connection is established 24 // given callback will run asynchronously when the connection is established
25 // or when an error occurs. The result is some other error code if the 25 // or when an error occurs. The result is some other error code if the
26 // connection could not be established. 26 // connection could not be established.
27 // 27 //
28 // The socket's Read and Write methods may not be called until Connect 28 // The socket's Read and Write methods may not be called until Connect
29 // succeeds. 29 // succeeds.
30 // 30 //
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // identify the motivation. 134 // identify the motivation.
135 bool omnibox_speculation_; 135 bool omnibox_speculation_;
136 bool subresource_speculation_; 136 bool subresource_speculation_;
137 DISALLOW_COPY_AND_ASSIGN(UseHistory); 137 DISALLOW_COPY_AND_ASSIGN(UseHistory);
138 }; 138 };
139 }; 139 };
140 140
141 } // namespace net 141 } // namespace net
142 142
143 #endif // NET_SOCKET_STREAM_SOCKET_H_ 143 #endif // NET_SOCKET_STREAM_SOCKET_H_
OLDNEW
« no previous file with comments | « net/socket/stream_listen_socket.h ('k') | net/socket/tcp_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698