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

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

Issue 6314010: Even more reordering the methods in headers and implementation in net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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/spdy/spdy_frame_builder.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) 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 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 54
55 // On destruction Disconnect() is called. 55 // On destruction Disconnect() is called.
56 virtual ~SpdyProxyClientSocket(); 56 virtual ~SpdyProxyClientSocket();
57 57
58 const scoped_refptr<HttpAuthController>& auth_controller() { 58 const scoped_refptr<HttpAuthController>& auth_controller() {
59 return auth_; 59 return auth_;
60 } 60 }
61 61
62 // ProxyClientSocket methods: 62 // ProxyClientSocket methods:
63 63 virtual const HttpResponseInfo* GetConnectResponseInfo() const;
64 virtual const HttpResponseInfo* GetConnectResponseInfo() const {
65 return response_.headers ? &response_ : NULL;
66 }
67 64
68 // 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
69 // 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
70 // the response body. 67 // the response body.
71 virtual HttpStream* CreateConnectResponseStream(); 68 virtual HttpStream* CreateConnectResponseStream();
72 69
73 // ClientSocket methods: 70 // ClientSocket methods:
74 virtual int Connect(CompletionCallback* callback); 71 virtual int Connect(CompletionCallback* callback);
75 virtual void Disconnect(); 72 virtual void Disconnect();
76 virtual bool IsConnected() const; 73 virtual bool IsConnected() const;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 scoped_ptr<SpdyHttpStream> response_stream_; 161 scoped_ptr<SpdyHttpStream> response_stream_;
165 162
166 const BoundNetLog net_log_; 163 const BoundNetLog net_log_;
167 164
168 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); 165 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket);
169 }; 166 };
170 167
171 } // namespace net 168 } // namespace net
172 169
173 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 170 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_frame_builder.cc ('k') | net/spdy/spdy_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698