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

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

Issue 8990001: base::Bind: Convert most of net/http. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clang. Created 9 years 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) 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/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 static void LogHttpConnectedMetrics(const ClientSocketHandle& handle); 200 static void LogHttpConnectedMetrics(const ClientSocketHandle& handle);
201 201
202 Request* request_; 202 Request* request_;
203 203
204 const HttpRequestInfo request_info_; 204 const HttpRequestInfo request_info_;
205 ProxyInfo proxy_info_; 205 ProxyInfo proxy_info_;
206 SSLConfig server_ssl_config_; 206 SSLConfig server_ssl_config_;
207 SSLConfig proxy_ssl_config_; 207 SSLConfig proxy_ssl_config_;
208 const BoundNetLog net_log_; 208 const BoundNetLog net_log_;
209 209
210 OldCompletionCallbackImpl<Job> old_io_callback_;
211 CompletionCallback io_callback_; 210 CompletionCallback io_callback_;
212 scoped_ptr<ClientSocketHandle> connection_; 211 scoped_ptr<ClientSocketHandle> connection_;
213 HttpNetworkSession* const session_; 212 HttpNetworkSession* const session_;
214 HttpStreamFactoryImpl* const stream_factory_; 213 HttpStreamFactoryImpl* const stream_factory_;
215 State next_state_; 214 State next_state_;
216 ProxyService::PacRequest* pac_request_; 215 ProxyService::PacRequest* pac_request_;
217 SSLInfo ssl_info_; 216 SSLInfo ssl_info_;
218 217
219 // The origin server we're trying to reach. 218 // The origin server we're trying to reach.
220 HostPortPair origin_; 219 HostPortPair origin_;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 bool existing_available_pipeline_; 277 bool existing_available_pipeline_;
279 278
280 base::WeakPtrFactory<Job> ptr_factory_; 279 base::WeakPtrFactory<Job> ptr_factory_;
281 280
282 DISALLOW_COPY_AND_ASSIGN(Job); 281 DISALLOW_COPY_AND_ASSIGN(Job);
283 }; 282 };
284 283
285 } // namespace net 284 } // namespace net
286 285
287 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 286 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698