| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 LoadState GetLoadState() const override; | 116 LoadState GetLoadState() const override; |
| 117 UploadProgress GetUploadProgress() const override; | 117 UploadProgress GetUploadProgress() const override; |
| 118 bool GetMimeType(std::string* mime_type) const override; | 118 bool GetMimeType(std::string* mime_type) const override; |
| 119 bool GetCharset(std::string* charset) override; | 119 bool GetCharset(std::string* charset) override; |
| 120 void GetResponseInfo(HttpResponseInfo* info) override; | 120 void GetResponseInfo(HttpResponseInfo* info) override; |
| 121 void GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; | 121 void GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; |
| 122 bool GetRemoteEndpoint(IPEndPoint* endpoint) const override; | 122 bool GetRemoteEndpoint(IPEndPoint* endpoint) const override; |
| 123 bool GetResponseCookies(std::vector<std::string>* cookies) override; | 123 bool GetResponseCookies(std::vector<std::string>* cookies) override; |
| 124 int GetResponseCode() const override; | 124 int GetResponseCode() const override; |
| 125 void PopulateNetErrorDetails(NetErrorDetails* details) const override; | 125 void PopulateNetErrorDetails(NetErrorDetails* details) const override; |
| 126 Filter* SetupFilter() const override; | 126 // Filter* SetupFilter() const override; |
| 127 scoped_ptr<StreamSource> SetupSource() override; |
| 127 bool CopyFragmentOnRedirect(const GURL& location) const override; | 128 bool CopyFragmentOnRedirect(const GURL& location) const override; |
| 128 bool IsSafeRedirect(const GURL& location) override; | 129 bool IsSafeRedirect(const GURL& location) override; |
| 129 bool NeedsAuth() override; | 130 bool NeedsAuth() override; |
| 130 void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) override; | 131 void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) override; |
| 131 void SetAuth(const AuthCredentials& credentials) override; | 132 void SetAuth(const AuthCredentials& credentials) override; |
| 132 void CancelAuth() override; | 133 void CancelAuth() override; |
| 133 void ContinueWithCertificate(X509Certificate* client_cert, | 134 void ContinueWithCertificate(X509Certificate* client_cert, |
| 134 SSLPrivateKey* client_private_key) override; | 135 SSLPrivateKey* client_private_key) override; |
| 135 void ContinueDespiteLastError() override; | 136 void ContinueDespiteLastError() override; |
| 136 void ResumeNetworkStart() override; | 137 void ResumeNetworkStart() override; |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 int64_t total_sent_bytes_from_previous_transactions_; | 290 int64_t total_sent_bytes_from_previous_transactions_; |
| 290 | 291 |
| 291 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; | 292 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; |
| 292 | 293 |
| 293 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 294 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
| 294 }; | 295 }; |
| 295 | 296 |
| 296 } // namespace net | 297 } // namespace net |
| 297 | 298 |
| 298 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 299 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
| OLD | NEW |