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

Side by Side Diff: remoting/jingle_glue/ssl_socket_adapter.h

Issue 4039003: Add experimental option for TCP FastOpen.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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/spdy/spdy_proxy_client_socket.cc ('k') | remoting/jingle_glue/ssl_socket_adapter.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_ 5 #ifndef REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_
6 #define REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_ 6 #define REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_
7 7
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "net/base/completion_callback.h" 9 #include "net/base/completion_callback.h"
10 #include "net/base/io_buffer.h" 10 #include "net/base/io_buffer.h"
(...skipping 28 matching lines...) Expand all
39 39
40 virtual int Connect(net::CompletionCallback* callback); 40 virtual int Connect(net::CompletionCallback* callback);
41 virtual void Disconnect(); 41 virtual void Disconnect();
42 virtual bool IsConnected() const; 42 virtual bool IsConnected() const;
43 virtual bool IsConnectedAndIdle() const; 43 virtual bool IsConnectedAndIdle() const;
44 virtual int GetPeerAddress(net::AddressList* address) const; 44 virtual int GetPeerAddress(net::AddressList* address) const;
45 virtual const net::BoundNetLog& NetLog() const { return net_log_; } 45 virtual const net::BoundNetLog& NetLog() const { return net_log_; }
46 virtual void SetSubresourceSpeculation(); 46 virtual void SetSubresourceSpeculation();
47 virtual void SetOmniboxSpeculation(); 47 virtual void SetOmniboxSpeculation();
48 virtual bool WasEverUsed() const; 48 virtual bool WasEverUsed() const;
49 virtual bool UsingTCPFastOpen() const;
49 50
50 // net::Socket implementation 51 // net::Socket implementation
51 52
52 virtual int Read(net::IOBuffer* buf, int buf_len, 53 virtual int Read(net::IOBuffer* buf, int buf_len,
53 net::CompletionCallback* callback); 54 net::CompletionCallback* callback);
54 virtual int Write(net::IOBuffer* buf, int buf_len, 55 virtual int Write(net::IOBuffer* buf, int buf_len,
55 net::CompletionCallback* callback); 56 net::CompletionCallback* callback);
56 virtual bool SetReceiveBufferSize(int32 size); 57 virtual bool SetReceiveBufferSize(int32 size);
57 virtual bool SetSendBufferSize(int32 size); 58 virtual bool SetSendBufferSize(int32 size);
58 59
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 IOState write_state_; 137 IOState write_state_;
137 scoped_refptr<net::IOBuffer> transport_buf_; 138 scoped_refptr<net::IOBuffer> transport_buf_;
138 int data_transferred_; 139 int data_transferred_;
139 140
140 DISALLOW_COPY_AND_ASSIGN(SSLSocketAdapter); 141 DISALLOW_COPY_AND_ASSIGN(SSLSocketAdapter);
141 }; 142 };
142 143
143 } // namespace remoting 144 } // namespace remoting
144 145
145 #endif // REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_ 146 #endif // REMOTING_JINGLE_GLUE_SSL_SOCKET_ADAPTER_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_proxy_client_socket.cc ('k') | remoting/jingle_glue/ssl_socket_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698