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

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

Issue 19866006: [Net] Propagate priority changes from HttpNetworkTransaction to its request (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 4 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
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_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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698