| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 bool awaiting_callback_; | 267 bool awaiting_callback_; |
| 271 | 268 |
| 272 const HttpUserAgentSettings* http_user_agent_settings_; | 269 const HttpUserAgentSettings* http_user_agent_settings_; |
| 273 | 270 |
| 274 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 271 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
| 275 }; | 272 }; |
| 276 | 273 |
| 277 } // namespace net | 274 } // namespace net |
| 278 | 275 |
| 279 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 276 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
| OLD | NEW |