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

Side by Side Diff: net/spdy/spdy_proxy_client_socket.h

Issue 6930014: Rename ClientSocket to StreamSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « net/socket_stream/socket_stream_unittest.cc ('k') | net/spdy/spdy_proxy_client_socket.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_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 5 #ifndef NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <list> 10 #include <list>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 60 }
61 61
62 // ProxyClientSocket methods: 62 // ProxyClientSocket methods:
63 virtual const HttpResponseInfo* GetConnectResponseInfo() const; 63 virtual const HttpResponseInfo* GetConnectResponseInfo() const;
64 64
65 // In the event of a non-200 response to the CONNECT request, this 65 // In the event of a non-200 response to the CONNECT request, this
66 // method may be called to return an HttpStream in order to read 66 // method may be called to return an HttpStream in order to read
67 // the response body. 67 // the response body.
68 virtual HttpStream* CreateConnectResponseStream(); 68 virtual HttpStream* CreateConnectResponseStream();
69 69
70 // ClientSocket methods: 70 // StreamSocket methods:
71 virtual int Connect(CompletionCallback* callback); 71 virtual int Connect(CompletionCallback* callback);
72 virtual void Disconnect(); 72 virtual void Disconnect();
73 virtual bool IsConnected() const; 73 virtual bool IsConnected() const;
74 virtual bool IsConnectedAndIdle() const; 74 virtual bool IsConnectedAndIdle() const;
75 virtual const BoundNetLog& NetLog() const; 75 virtual const BoundNetLog& NetLog() const;
76 virtual void SetSubresourceSpeculation(); 76 virtual void SetSubresourceSpeculation();
77 virtual void SetOmniboxSpeculation(); 77 virtual void SetOmniboxSpeculation();
78 virtual bool WasEverUsed() const; 78 virtual bool WasEverUsed() const;
79 virtual bool UsingTCPFastOpen() const; 79 virtual bool UsingTCPFastOpen() const;
80 80
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 scoped_ptr<SpdyHttpStream> response_stream_; 163 scoped_ptr<SpdyHttpStream> response_stream_;
164 164
165 const BoundNetLog net_log_; 165 const BoundNetLog net_log_;
166 166
167 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); 167 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket);
168 }; 168 };
169 169
170 } // namespace net 170 } // namespace net
171 171
172 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 172 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/socket_stream/socket_stream_unittest.cc ('k') | net/spdy/spdy_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698