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

Side by Side Diff: net/http/http_proxy_client_socket.h

Issue 9958028: Add a new GetNegotiatedProtocol method to StreamSocket and implement in all subclasses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 8 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/curvecp/curvecp_client_socket.cc ('k') | net/http/http_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) 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_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_
6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual void Disconnect() OVERRIDE; 66 virtual void Disconnect() OVERRIDE;
67 virtual bool IsConnected() const OVERRIDE; 67 virtual bool IsConnected() const OVERRIDE;
68 virtual bool IsConnectedAndIdle() const OVERRIDE; 68 virtual bool IsConnectedAndIdle() const OVERRIDE;
69 virtual const BoundNetLog& NetLog() const OVERRIDE; 69 virtual const BoundNetLog& NetLog() const OVERRIDE;
70 virtual void SetSubresourceSpeculation() OVERRIDE; 70 virtual void SetSubresourceSpeculation() OVERRIDE;
71 virtual void SetOmniboxSpeculation() OVERRIDE; 71 virtual void SetOmniboxSpeculation() OVERRIDE;
72 virtual bool WasEverUsed() const OVERRIDE; 72 virtual bool WasEverUsed() const OVERRIDE;
73 virtual bool UsingTCPFastOpen() const OVERRIDE; 73 virtual bool UsingTCPFastOpen() const OVERRIDE;
74 virtual int64 NumBytesRead() const OVERRIDE; 74 virtual int64 NumBytesRead() const OVERRIDE;
75 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE; 75 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE;
76 virtual NextProto GetNegotiatedProtocol() const OVERRIDE;
76 77
77 // Socket implementation. 78 // Socket implementation.
78 virtual int Read(IOBuffer* buf, 79 virtual int Read(IOBuffer* buf,
79 int buf_len, 80 int buf_len,
80 const CompletionCallback& callback) OVERRIDE; 81 const CompletionCallback& callback) OVERRIDE;
81 virtual int Write(IOBuffer* buf, 82 virtual int Write(IOBuffer* buf,
82 int buf_len, 83 int buf_len,
83 const CompletionCallback& callback) OVERRIDE; 84 const CompletionCallback& callback) OVERRIDE;
84 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; 85 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE;
85 virtual bool SetSendBufferSize(int32 size) OVERRIDE; 86 virtual bool SetSendBufferSize(int32 size) OVERRIDE;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 HttpRequestHeaders request_headers_; 160 HttpRequestHeaders request_headers_;
160 161
161 const BoundNetLog net_log_; 162 const BoundNetLog net_log_;
162 163
163 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); 164 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket);
164 }; 165 };
165 166
166 } // namespace net 167 } // namespace net
167 168
168 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ 169 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/curvecp/curvecp_client_socket.cc ('k') | net/http/http_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698