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

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

Issue 7024017: Fix --host-rules command switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/create/Create/ Created 9 years, 6 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 | « chrome/common/chrome_switches_uitest.cc ('k') | net/http/http_stream_factory_impl_job.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_STREAM_FACTORY_IMPL_JOB_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/task.h" 10 #include "base/task.h"
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 scoped_ptr<ClientSocketHandle> connection_; 210 scoped_ptr<ClientSocketHandle> connection_;
211 HttpNetworkSession* const session_; 211 HttpNetworkSession* const session_;
212 HttpStreamFactoryImpl* const stream_factory_; 212 HttpStreamFactoryImpl* const stream_factory_;
213 State next_state_; 213 State next_state_;
214 ProxyService::PacRequest* pac_request_; 214 ProxyService::PacRequest* pac_request_;
215 SSLInfo ssl_info_; 215 SSLInfo ssl_info_;
216 216
217 // The origin server we're trying to reach. 217 // The origin server we're trying to reach.
218 HostPortPair origin_; 218 HostPortPair origin_;
219 219
220 // The origin url we're trying to reach. This url may be different from the
221 // original request when host mapping rules are set-up.
222 GURL origin_url_;
223
220 // If this is a Job for an "Alternate-Protocol", then this will be non-NULL 224 // If this is a Job for an "Alternate-Protocol", then this will be non-NULL
221 // and will specify the original URL. 225 // and will specify the original URL.
222 scoped_ptr<GURL> original_url_; 226 scoped_ptr<GURL> original_url_;
223 227
224 // This is the Job we're dependent on. It will notify us if/when it's OK to 228 // This is the Job we're dependent on. It will notify us if/when it's OK to
225 // proceed. 229 // proceed.
226 Job* blocking_job_; 230 Job* blocking_job_;
227 231
228 // |dependent_job_| is dependent on |this|. Notify it when it's ok to proceed. 232 // |dependent_job_| is dependent on |this|. Notify it when it's ok to proceed.
229 Job* dependent_job_; 233 Job* dependent_job_;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 bool spdy_session_direct_; 270 bool spdy_session_direct_;
267 271
268 ScopedRunnableMethodFactory<Job> method_factory_; 272 ScopedRunnableMethodFactory<Job> method_factory_;
269 273
270 DISALLOW_COPY_AND_ASSIGN(Job); 274 DISALLOW_COPY_AND_ASSIGN(Job);
271 }; 275 };
272 276
273 } // namespace net 277 } // namespace net
274 278
275 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 279 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches_uitest.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698