OLD | NEW |
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_STREAM_FACTORY_IMPL_REQUEST_H_ | 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ |
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ | 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "net/base/net_log.h" | 10 #include "net/base/net_log.h" |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 Job *job, | 98 Job *job, |
99 const HttpResponseInfo& response_info, | 99 const HttpResponseInfo& response_info, |
100 const SSLConfig& used_ssl_config, | 100 const SSLConfig& used_ssl_config, |
101 const ProxyInfo& used_proxy_info, | 101 const ProxyInfo& used_proxy_info, |
102 HttpStreamBase* stream); | 102 HttpStreamBase* stream); |
103 | 103 |
104 // HttpStreamRequest methods. | 104 // HttpStreamRequest methods. |
105 | 105 |
106 virtual int RestartTunnelWithProxyAuth( | 106 virtual int RestartTunnelWithProxyAuth( |
107 const AuthCredentials& credentials) OVERRIDE; | 107 const AuthCredentials& credentials) OVERRIDE; |
| 108 virtual void SetPriority(RequestPriority priority) OVERRIDE; |
108 virtual LoadState GetLoadState() const OVERRIDE; | 109 virtual LoadState GetLoadState() const OVERRIDE; |
109 virtual bool was_npn_negotiated() const OVERRIDE; | 110 virtual bool was_npn_negotiated() const OVERRIDE; |
110 virtual NextProto protocol_negotiated() const OVERRIDE; | 111 virtual NextProto protocol_negotiated() const OVERRIDE; |
111 virtual bool using_spdy() const OVERRIDE; | 112 virtual bool using_spdy() const OVERRIDE; |
112 | 113 |
113 private: | 114 private: |
114 // Used to orphan all jobs in |jobs_| other than |job| which becomes "bound" | 115 // Used to orphan all jobs in |jobs_| other than |job| which becomes "bound" |
115 // to the request. | 116 // to the request. |
116 void OrphanJobsExcept(Job* job); | 117 void OrphanJobsExcept(Job* job); |
117 | 118 |
(...skipping 20 matching lines...) Expand all Loading... |
138 // Protocol negotiated with the server. | 139 // Protocol negotiated with the server. |
139 NextProto protocol_negotiated_; | 140 NextProto protocol_negotiated_; |
140 bool using_spdy_; | 141 bool using_spdy_; |
141 | 142 |
142 DISALLOW_COPY_AND_ASSIGN(Request); | 143 DISALLOW_COPY_AND_ASSIGN(Request); |
143 }; | 144 }; |
144 | 145 |
145 } // namespace net | 146 } // namespace net |
146 | 147 |
147 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ | 148 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ |
OLD | NEW |