| OLD | NEW |
| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 std::vector<std::string> response_cookies_; | 98 std::vector<std::string> response_cookies_; |
| 99 size_t response_cookies_save_index_; | 99 size_t response_cookies_save_index_; |
| 100 | 100 |
| 101 // Auth states for proxy and origin server. | 101 // Auth states for proxy and origin server. |
| 102 AuthState proxy_auth_state_; | 102 AuthState proxy_auth_state_; |
| 103 AuthState server_auth_state_; | 103 AuthState server_auth_state_; |
| 104 | 104 |
| 105 string16 username_; | 105 string16 username_; |
| 106 string16 password_; | 106 string16 password_; |
| 107 | 107 |
| 108 CompletionCallbackImpl<URLRequestHttpJob> can_get_cookies_callback_; | |
| 109 CompletionCallbackImpl<URLRequestHttpJob> can_set_cookie_callback_; | |
| 110 CompletionCallbackImpl<URLRequestHttpJob> start_callback_; | 108 CompletionCallbackImpl<URLRequestHttpJob> start_callback_; |
| 111 CompletionCallbackImpl<URLRequestHttpJob> read_callback_; | 109 CompletionCallbackImpl<URLRequestHttpJob> read_callback_; |
| 112 | 110 |
| 113 bool read_in_progress_; | 111 bool read_in_progress_; |
| 114 | 112 |
| 115 // An URL for an SDCH dictionary as suggested in a Get-Dictionary HTTP header. | 113 // An URL for an SDCH dictionary as suggested in a Get-Dictionary HTTP header. |
| 116 GURL sdch_dictionary_url_; | 114 GURL sdch_dictionary_url_; |
| 117 | 115 |
| 118 scoped_ptr<HttpTransaction> transaction_; | 116 scoped_ptr<HttpTransaction> transaction_; |
| 119 | 117 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 | 182 |
| 185 scoped_ptr<HttpFilterContext> filter_context_; | 183 scoped_ptr<HttpFilterContext> filter_context_; |
| 186 ScopedRunnableMethodFactory<URLRequestHttpJob> method_factory_; | 184 ScopedRunnableMethodFactory<URLRequestHttpJob> method_factory_; |
| 187 | 185 |
| 188 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 186 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
| 189 }; | 187 }; |
| 190 | 188 |
| 191 } // namespace net | 189 } // namespace net |
| 192 | 190 |
| 193 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 191 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
| OLD | NEW |