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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 virtual bool GetResponseCookies(std::vector<std::string>* cookies) OVERRIDE; | 106 virtual bool GetResponseCookies(std::vector<std::string>* cookies) OVERRIDE; |
107 virtual int GetResponseCode() const OVERRIDE; | 107 virtual int GetResponseCode() const OVERRIDE; |
108 virtual Filter* SetupFilter() const OVERRIDE; | 108 virtual Filter* SetupFilter() const OVERRIDE; |
109 virtual bool IsSafeRedirect(const GURL& location) OVERRIDE; | 109 virtual bool IsSafeRedirect(const GURL& location) OVERRIDE; |
110 virtual bool NeedsAuth() OVERRIDE; | 110 virtual bool NeedsAuth() OVERRIDE; |
111 virtual void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) OVERRIDE; | 111 virtual void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) OVERRIDE; |
112 virtual void SetAuth(const AuthCredentials& credentials) OVERRIDE; | 112 virtual void SetAuth(const AuthCredentials& credentials) OVERRIDE; |
113 virtual void CancelAuth() OVERRIDE; | 113 virtual void CancelAuth() OVERRIDE; |
114 virtual void ContinueWithCertificate(X509Certificate* client_cert) OVERRIDE; | 114 virtual void ContinueWithCertificate(X509Certificate* client_cert) OVERRIDE; |
115 virtual void ContinueDespiteLastError() OVERRIDE; | 115 virtual void ContinueDespiteLastError() OVERRIDE; |
| 116 virtual void ResumeNetworkStart() OVERRIDE; |
116 virtual bool ReadRawData(IOBuffer* buf, int buf_size, | 117 virtual bool ReadRawData(IOBuffer* buf, int buf_size, |
117 int* bytes_read) OVERRIDE; | 118 int* bytes_read) OVERRIDE; |
118 virtual void StopCaching() OVERRIDE; | 119 virtual void StopCaching() OVERRIDE; |
119 virtual bool GetFullRequestHeaders( | 120 virtual bool GetFullRequestHeaders( |
120 HttpRequestHeaders* headers) const OVERRIDE; | 121 HttpRequestHeaders* headers) const OVERRIDE; |
121 virtual void DoneReading() OVERRIDE; | 122 virtual void DoneReading() OVERRIDE; |
122 virtual HostPortPair GetSocketAddress() const OVERRIDE; | 123 virtual HostPortPair GetSocketAddress() const OVERRIDE; |
123 virtual void NotifyURLRequestDestroyed() OVERRIDE; | 124 virtual void NotifyURLRequestDestroyed() OVERRIDE; |
124 | 125 |
125 void RecordTimer(); | 126 void RecordTimer(); |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 bool awaiting_callback_; | 260 bool awaiting_callback_; |
260 | 261 |
261 const HttpUserAgentSettings* http_user_agent_settings_; | 262 const HttpUserAgentSettings* http_user_agent_settings_; |
262 | 263 |
263 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 264 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
264 }; | 265 }; |
265 | 266 |
266 } // namespace net | 267 } // namespace net |
267 | 268 |
268 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 269 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
OLD | NEW |