| 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 27 matching lines...) Expand all Loading... |
| 38 // Shadows URLRequestJob's version of this method so we can grab cookies. | 38 // Shadows URLRequestJob's version of this method so we can grab cookies. |
| 39 void NotifyHeadersComplete(); | 39 void NotifyHeadersComplete(); |
| 40 | 40 |
| 41 // Shadows URLRequestJob's method so we can record histograms. | 41 // Shadows URLRequestJob's method so we can record histograms. |
| 42 void NotifyDone(const URLRequestStatus& status); | 42 void NotifyDone(const URLRequestStatus& status); |
| 43 | 43 |
| 44 void DestroyTransaction(); | 44 void DestroyTransaction(); |
| 45 | 45 |
| 46 void AddExtraHeaders(); | 46 void AddExtraHeaders(); |
| 47 void AddCookieHeaderAndStart(); | 47 void AddCookieHeaderAndStart(); |
| 48 void CheckForXAutoLogin(); |
| 48 void SaveCookiesAndNotifyHeadersComplete(); | 49 void SaveCookiesAndNotifyHeadersComplete(); |
| 49 void SaveNextCookie(); | 50 void SaveNextCookie(); |
| 50 void FetchResponseCookies(const HttpResponseInfo* response_info, | 51 void FetchResponseCookies(const HttpResponseInfo* response_info, |
| 51 std::vector<std::string>* cookies); | 52 std::vector<std::string>* cookies); |
| 52 | 53 |
| 53 // Process the Strict-Transport-Security header, if one exists. | 54 // Process the Strict-Transport-Security header, if one exists. |
| 54 void ProcessStrictTransportSecurityHeader(); | 55 void ProcessStrictTransportSecurityHeader(); |
| 55 | 56 |
| 56 void OnStartCompleted(int result); | 57 void OnStartCompleted(int result); |
| 57 void OnReadCompleted(int result); | 58 void OnReadCompleted(int result); |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 | 201 |
| 201 scoped_ptr<HttpFilterContext> filter_context_; | 202 scoped_ptr<HttpFilterContext> filter_context_; |
| 202 ScopedRunnableMethodFactory<URLRequestHttpJob> method_factory_; | 203 ScopedRunnableMethodFactory<URLRequestHttpJob> method_factory_; |
| 203 | 204 |
| 204 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 205 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
| 205 }; | 206 }; |
| 206 | 207 |
| 207 } // namespace net | 208 } // namespace net |
| 208 | 209 |
| 209 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 210 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
| OLD | NEW |