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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 virtual void StopCaching() OVERRIDE; | 91 virtual void StopCaching() OVERRIDE; |
92 virtual void DoneReading() OVERRIDE; | 92 virtual void DoneReading() OVERRIDE; |
93 virtual HostPortPair GetSocketAddress() const OVERRIDE; | 93 virtual HostPortPair GetSocketAddress() const OVERRIDE; |
94 virtual void NotifyURLRequestDestroyed() OVERRIDE; | 94 virtual void NotifyURLRequestDestroyed() OVERRIDE; |
95 | 95 |
96 HttpRequestInfo request_info_; | 96 HttpRequestInfo request_info_; |
97 const HttpResponseInfo* response_info_; | 97 const HttpResponseInfo* response_info_; |
98 | 98 |
99 std::vector<std::string> response_cookies_; | 99 std::vector<std::string> response_cookies_; |
100 size_t response_cookies_save_index_; | 100 size_t response_cookies_save_index_; |
| 101 base::Time response_date_; |
101 | 102 |
102 // Auth states for proxy and origin server. | 103 // Auth states for proxy and origin server. |
103 AuthState proxy_auth_state_; | 104 AuthState proxy_auth_state_; |
104 AuthState server_auth_state_; | 105 AuthState server_auth_state_; |
105 AuthCredentials auth_credentials_; | 106 AuthCredentials auth_credentials_; |
106 | 107 |
107 CompletionCallback start_callback_; | 108 CompletionCallback start_callback_; |
108 CompletionCallback notify_before_headers_sent_callback_; | 109 CompletionCallback notify_before_headers_sent_callback_; |
109 | 110 |
110 bool read_in_progress_; | 111 bool read_in_progress_; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 bool awaiting_callback_; | 243 bool awaiting_callback_; |
243 | 244 |
244 scoped_ptr<HttpTransactionDelegateImpl> http_transaction_delegate_; | 245 scoped_ptr<HttpTransactionDelegateImpl> http_transaction_delegate_; |
245 | 246 |
246 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 247 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
247 }; | 248 }; |
248 | 249 |
249 } // namespace net | 250 } // namespace net |
250 | 251 |
251 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 252 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
OLD | NEW |