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

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

Issue 9959033: Move NextProto enum to a new file net/socket/next_proto.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address wtc's comments 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/http/http_pipelined_host_test_util.h ('k') | net/http/http_pipelined_stream.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_HTTP_HTTP_PIPELINED_STREAM_H_ 5 #ifndef NET_HTTP_HTTP_PIPELINED_STREAM_H_
6 #define NET_HTTP_HTTP_PIPELINED_STREAM_H_ 6 #define NET_HTTP_HTTP_PIPELINED_STREAM_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // The ProxyInfo used to establish this this stream's pipeline. 91 // The ProxyInfo used to establish this this stream's pipeline.
92 const ProxyInfo& used_proxy_info() const; 92 const ProxyInfo& used_proxy_info() const;
93 93
94 // The BoundNetLog of this stream's pipelined connection. 94 // The BoundNetLog of this stream's pipelined connection.
95 const BoundNetLog& net_log() const; 95 const BoundNetLog& net_log() const;
96 96
97 // True if this stream's pipeline was NPN negotiated. 97 // True if this stream's pipeline was NPN negotiated.
98 bool was_npn_negotiated() const; 98 bool was_npn_negotiated() const;
99 99
100 // Protocol negotiated with the server. 100 // Protocol negotiated with the server.
101 SSLClientSocket::NextProto protocol_negotiated() const; 101 NextProto protocol_negotiated() const;
102 102
103 private: 103 private:
104 HttpPipelinedConnectionImpl* pipeline_; 104 HttpPipelinedConnectionImpl* pipeline_;
105 105
106 int pipeline_id_; 106 int pipeline_id_;
107 107
108 const HttpRequestInfo* request_info_; 108 const HttpRequestInfo* request_info_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(HttpPipelinedStream); 110 DISALLOW_COPY_AND_ASSIGN(HttpPipelinedStream);
111 }; 111 };
112 112
113 } // namespace net 113 } // namespace net
114 114
115 #endif // NET_HTTP_HTTP_PIPELINED_STREAM_H_ 115 #endif // NET_HTTP_HTTP_PIPELINED_STREAM_H_
OLDNEW
« no previous file with comments | « net/http/http_pipelined_host_test_util.h ('k') | net/http/http_pipelined_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698