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