| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 void RestartTransactionWithAuth(const AuthCredentials& credentials); | 65 void RestartTransactionWithAuth(const AuthCredentials& credentials); |
| 66 | 66 |
| 67 // Overridden from URLRequestJob: | 67 // Overridden from URLRequestJob: |
| 68 virtual void SetUpload(UploadData* upload) OVERRIDE; | 68 virtual void SetUpload(UploadData* upload) OVERRIDE; |
| 69 virtual void SetExtraRequestHeaders( | 69 virtual void SetExtraRequestHeaders( |
| 70 const HttpRequestHeaders& headers) OVERRIDE; | 70 const HttpRequestHeaders& headers) OVERRIDE; |
| 71 virtual void Start() OVERRIDE; | 71 virtual void Start() OVERRIDE; |
| 72 virtual void Kill() OVERRIDE; | 72 virtual void Kill() OVERRIDE; |
| 73 virtual LoadState GetLoadState() const OVERRIDE; | 73 virtual LoadState GetLoadState() const OVERRIDE; |
| 74 virtual uint64 GetUploadProgress() const OVERRIDE; | 74 virtual UploadProgress GetUploadProgress() const OVERRIDE; |
| 75 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE; | 75 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE; |
| 76 virtual bool GetCharset(std::string* charset) OVERRIDE; | 76 virtual bool GetCharset(std::string* charset) OVERRIDE; |
| 77 virtual void GetResponseInfo(HttpResponseInfo* info) OVERRIDE; | 77 virtual void GetResponseInfo(HttpResponseInfo* info) OVERRIDE; |
| 78 virtual bool GetResponseCookies(std::vector<std::string>* cookies) OVERRIDE; | 78 virtual bool GetResponseCookies(std::vector<std::string>* cookies) OVERRIDE; |
| 79 virtual int GetResponseCode() const OVERRIDE; | 79 virtual int GetResponseCode() const OVERRIDE; |
| 80 virtual Filter* SetupFilter() const OVERRIDE; | 80 virtual Filter* SetupFilter() const OVERRIDE; |
| 81 virtual bool IsSafeRedirect(const GURL& location) OVERRIDE; | 81 virtual bool IsSafeRedirect(const GURL& location) OVERRIDE; |
| 82 virtual bool NeedsAuth() OVERRIDE; | 82 virtual bool NeedsAuth() OVERRIDE; |
| 83 virtual void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) OVERRIDE; | 83 virtual void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) OVERRIDE; |
| 84 virtual void SetAuth(const AuthCredentials& credentials) OVERRIDE; | 84 virtual void SetAuth(const AuthCredentials& credentials) OVERRIDE; |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 bool awaiting_callback_; | 239 bool awaiting_callback_; |
| 240 | 240 |
| 241 scoped_ptr<HttpTransactionDelegateImpl> http_transaction_delegate_; | 241 scoped_ptr<HttpTransactionDelegateImpl> http_transaction_delegate_; |
| 242 | 242 |
| 243 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 243 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
| 244 }; | 244 }; |
| 245 | 245 |
| 246 } // namespace net | 246 } // namespace net |
| 247 | 247 |
| 248 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 248 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
| OLD | NEW |