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

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

Issue 6990036: Deciding best connection to schedule requests on based on cwnd and idle time (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Reuploading from google.com account Created 9 years, 6 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 | « net/socket/socks_client_socket.cc ('k') | net/socket/ssl_client_socket_mac.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_SSL_CLIENT_SOCKET_MAC_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #include <Security/Security.h> 9 #include <Security/Security.h>
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual void Disconnect(); 50 virtual void Disconnect();
51 virtual bool IsConnected() const; 51 virtual bool IsConnected() const;
52 virtual bool IsConnectedAndIdle() const; 52 virtual bool IsConnectedAndIdle() const;
53 virtual int GetPeerAddress(AddressList* address) const; 53 virtual int GetPeerAddress(AddressList* address) const;
54 virtual int GetLocalAddress(IPEndPoint* address) const; 54 virtual int GetLocalAddress(IPEndPoint* address) const;
55 virtual const BoundNetLog& NetLog() const; 55 virtual const BoundNetLog& NetLog() const;
56 virtual void SetSubresourceSpeculation(); 56 virtual void SetSubresourceSpeculation();
57 virtual void SetOmniboxSpeculation(); 57 virtual void SetOmniboxSpeculation();
58 virtual bool WasEverUsed() const; 58 virtual bool WasEverUsed() const;
59 virtual bool UsingTCPFastOpen() const; 59 virtual bool UsingTCPFastOpen() const;
60 virtual int64 NumBytesRead() const;
61 virtual int GetConnectTimeMicros() const;
60 62
61 // Socket methods: 63 // Socket methods:
62 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 64 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback);
63 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); 65 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
64 virtual bool SetReceiveBufferSize(int32 size); 66 virtual bool SetReceiveBufferSize(int32 size);
65 virtual bool SetSendBufferSize(int32 size); 67 virtual bool SetSendBufferSize(int32 size);
66 68
67 private: 69 private:
68 bool completed_handshake() const { 70 bool completed_handshake() const {
69 return next_handshake_state_ == STATE_COMPLETED_HANDSHAKE; 71 return next_handshake_state_ == STATE_COMPLETED_HANDSHAKE;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 // These are the IOBuffers used for operations on the underlying transport. 165 // These are the IOBuffers used for operations on the underlying transport.
164 scoped_refptr<IOBuffer> read_io_buf_; 166 scoped_refptr<IOBuffer> read_io_buf_;
165 scoped_refptr<IOBuffer> write_io_buf_; 167 scoped_refptr<IOBuffer> write_io_buf_;
166 168
167 BoundNetLog net_log_; 169 BoundNetLog net_log_;
168 }; 170 };
169 171
170 } // namespace net 172 } // namespace net
171 173
172 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_ 174 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_
OLDNEW
« no previous file with comments | « net/socket/socks_client_socket.cc ('k') | net/socket/ssl_client_socket_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698