| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 HttpRequestInfo request_info_; | 174 HttpRequestInfo request_info_; |
| 175 const HttpResponseInfo* response_info_; | 175 const HttpResponseInfo* response_info_; |
| 176 | 176 |
| 177 // Auth states for proxy and origin server. | 177 // Auth states for proxy and origin server. |
| 178 AuthState proxy_auth_state_; | 178 AuthState proxy_auth_state_; |
| 179 AuthState server_auth_state_; | 179 AuthState server_auth_state_; |
| 180 AuthCredentials auth_credentials_; | 180 AuthCredentials auth_credentials_; |
| 181 | 181 |
| 182 bool read_in_progress_; | 182 bool read_in_progress_; |
| 183 | 183 |
| 184 // Always invoke Orphan on the transaction and never let it get destroyed |
| 185 // implicitly. |
| 184 std::unique_ptr<HttpTransaction> transaction_; | 186 std::unique_ptr<HttpTransaction> transaction_; |
| 185 | 187 |
| 186 // This is used to supervise traffic and enforce exponential | 188 // This is used to supervise traffic and enforce exponential |
| 187 // back-off. May be NULL. | 189 // back-off. May be NULL. |
| 188 scoped_refptr<URLRequestThrottlerEntryInterface> throttling_entry_; | 190 scoped_refptr<URLRequestThrottlerEntryInterface> throttling_entry_; |
| 189 | 191 |
| 190 // A handle to the SDCH dictionaries that were advertised in this request. | 192 // A handle to the SDCH dictionaries that were advertised in this request. |
| 191 // May be null. | 193 // May be null. |
| 192 std::unique_ptr<SdchManager::DictionarySet> dictionaries_advertised_; | 194 std::unique_ptr<SdchManager::DictionarySet> dictionaries_advertised_; |
| 193 | 195 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 int64_t total_sent_bytes_from_previous_transactions_; | 262 int64_t total_sent_bytes_from_previous_transactions_; |
| 261 | 263 |
| 262 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; | 264 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; |
| 263 | 265 |
| 264 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 266 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
| 265 }; | 267 }; |
| 266 | 268 |
| 267 } // namespace net | 269 } // namespace net |
| 268 | 270 |
| 269 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 271 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
| OLD | NEW |