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

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

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 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
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "net/log/net_log.h"
12 #include "net/socket/connection_attempts.h" 11 #include "net/socket/connection_attempts.h"
13 #include "net/socket/next_proto.h" 12 #include "net/socket/next_proto.h"
14 #include "net/socket/socket.h" 13 #include "net/socket/socket.h"
15 14
16 namespace net { 15 namespace net {
17 16
18 class AddressList; 17 class AddressList;
19 class IPEndPoint; 18 class IPEndPoint;
19 class NetLogWithSource;
20 class SSLInfo; 20 class SSLInfo;
21 21
22 class NET_EXPORT_PRIVATE StreamSocket : public Socket { 22 class NET_EXPORT_PRIVATE StreamSocket : public Socket {
23 public: 23 public:
24 ~StreamSocket() override {} 24 ~StreamSocket() override {}
25 25
26 // Called to establish a connection. Returns OK if the connection could be 26 // Called to establish a connection. Returns OK if the connection could be
27 // established synchronously. Otherwise, ERR_IO_PENDING is returned and the 27 // established synchronously. Otherwise, ERR_IO_PENDING is returned and the
28 // given callback will run asynchronously when the connection is established 28 // given callback will run asynchronously when the connection is established
29 // or when an error occurs. The result is some other error code if the 29 // or when an error occurs. The result is some other error code if the
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 // identify the motivation. 149 // identify the motivation.
150 bool omnibox_speculation_; 150 bool omnibox_speculation_;
151 bool subresource_speculation_; 151 bool subresource_speculation_;
152 DISALLOW_COPY_AND_ASSIGN(UseHistory); 152 DISALLOW_COPY_AND_ASSIGN(UseHistory);
153 }; 153 };
154 }; 154 };
155 155
156 } // namespace net 156 } // namespace net
157 157
158 #endif // NET_SOCKET_STREAM_SOCKET_H_ 158 #endif // NET_SOCKET_STREAM_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698