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

Side by Side Diff: net/url_request/url_request_http_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_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 const HttpResponseInfo* response_info_; 99 const HttpResponseInfo* response_info_;
100 100
101 std::vector<std::string> response_cookies_; 101 std::vector<std::string> response_cookies_;
102 size_t response_cookies_save_index_; 102 size_t response_cookies_save_index_;
103 103
104 // Auth states for proxy and origin server. 104 // Auth states for proxy and origin server.
105 AuthState proxy_auth_state_; 105 AuthState proxy_auth_state_;
106 AuthState server_auth_state_; 106 AuthState server_auth_state_;
107 AuthCredentials auth_credentials_; 107 AuthCredentials auth_credentials_;
108 108
109 OldCompletionCallbackImpl<URLRequestHttpJob> start_callback_; 109 CompletionCallback start_callback_;
110 OldCompletionCallbackImpl<URLRequestHttpJob> read_callback_;
111 CompletionCallback notify_before_headers_sent_callback_; 110 CompletionCallback notify_before_headers_sent_callback_;
112 111
113 bool read_in_progress_; 112 bool read_in_progress_;
114 113
115 // An URL for an SDCH dictionary as suggested in a Get-Dictionary HTTP header. 114 // An URL for an SDCH dictionary as suggested in a Get-Dictionary HTTP header.
116 GURL sdch_dictionary_url_; 115 GURL sdch_dictionary_url_;
117 116
118 scoped_ptr<HttpTransaction> transaction_; 117 scoped_ptr<HttpTransaction> transaction_;
119 118
120 // This is used to supervise traffic and enforce exponential back-off. 119 // This is used to supervise traffic and enforce exponential back-off.
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // NetworkDelegate::NotifyURLRequestDestroyed has not been called, yet, 229 // NetworkDelegate::NotifyURLRequestDestroyed has not been called, yet,
231 // to inform the NetworkDelegate that it may not call back. 230 // to inform the NetworkDelegate that it may not call back.
232 bool awaiting_callback_; 231 bool awaiting_callback_;
233 232
234 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); 233 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
235 }; 234 };
236 235
237 } // namespace net 236 } // namespace net
238 237
239 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 238 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698