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_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 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 // Auth states for proxy and origin server. | 183 // Auth states for proxy and origin server. |
184 AuthState proxy_auth_state_; | 184 AuthState proxy_auth_state_; |
185 AuthState server_auth_state_; | 185 AuthState server_auth_state_; |
186 AuthCredentials auth_credentials_; | 186 AuthCredentials auth_credentials_; |
187 | 187 |
188 CompletionCallback start_callback_; | 188 CompletionCallback start_callback_; |
189 CompletionCallback notify_before_headers_sent_callback_; | 189 CompletionCallback notify_before_headers_sent_callback_; |
190 | 190 |
191 bool read_in_progress_; | 191 bool read_in_progress_; |
192 | 192 |
193 // An URL for an SDCH dictionary as suggested in a Get-Dictionary HTTP header. | |
194 GURL sdch_dictionary_url_; | |
195 | |
196 scoped_ptr<HttpTransaction> transaction_; | 193 scoped_ptr<HttpTransaction> transaction_; |
197 | 194 |
198 // This is used to supervise traffic and enforce exponential | 195 // This is used to supervise traffic and enforce exponential |
199 // back-off. May be NULL. | 196 // back-off. May be NULL. |
200 scoped_refptr<URLRequestThrottlerEntryInterface> throttling_entry_; | 197 scoped_refptr<URLRequestThrottlerEntryInterface> throttling_entry_; |
201 | 198 |
202 // Indicated if an SDCH dictionary was advertised, and hence an SDCH | 199 // Indicated if an SDCH dictionary was advertised, and hence an SDCH |
203 // compressed response is expected. We use this to help detect (accidental?) | 200 // compressed response is expected. We use this to help detect (accidental?) |
204 // proxy corruption of a response, which sometimes marks SDCH content as | 201 // proxy corruption of a response, which sometimes marks SDCH content as |
205 // having no content encoding <oops>. | 202 // having no content encoding <oops>. |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 const HttpUserAgentSettings* http_user_agent_settings_; | 268 const HttpUserAgentSettings* http_user_agent_settings_; |
272 | 269 |
273 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; | 270 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; |
274 | 271 |
275 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 272 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
276 }; | 273 }; |
277 | 274 |
278 } // namespace net | 275 } // namespace net |
279 | 276 |
280 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 277 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
OLD | NEW |