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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 std::unique_ptr<Filter> SetupFilter() const override; | 123 std::unique_ptr<Filter> SetupFilter() const override; |
124 bool CopyFragmentOnRedirect(const GURL& location) const override; | 124 bool CopyFragmentOnRedirect(const GURL& location) const override; |
125 bool IsSafeRedirect(const GURL& location) override; | 125 bool IsSafeRedirect(const GURL& location) override; |
126 bool NeedsAuth() override; | 126 bool NeedsAuth() override; |
127 void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) override; | 127 void GetAuthChallengeInfo(scoped_refptr<AuthChallengeInfo>*) override; |
128 void SetAuth(const AuthCredentials& credentials) override; | 128 void SetAuth(const AuthCredentials& credentials) override; |
129 void CancelAuth() override; | 129 void CancelAuth() override; |
130 void ContinueWithCertificate(X509Certificate* client_cert, | 130 void ContinueWithCertificate(X509Certificate* client_cert, |
131 SSLPrivateKey* client_private_key) override; | 131 SSLPrivateKey* client_private_key) override; |
132 void ContinueDespiteLastError() override; | 132 void ContinueDespiteLastError() override; |
133 void ResumeNetworkStart() override; | |
134 int ReadRawData(IOBuffer* buf, int buf_size) override; | 133 int ReadRawData(IOBuffer* buf, int buf_size) override; |
135 void StopCaching() override; | 134 void StopCaching() override; |
136 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override; | 135 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override; |
137 int64_t GetTotalReceivedBytes() const override; | 136 int64_t GetTotalReceivedBytes() const override; |
138 int64_t GetTotalSentBytes() const override; | 137 int64_t GetTotalSentBytes() const override; |
139 void DoneReading() override; | 138 void DoneReading() override; |
140 void DoneReadingRedirectResponse() override; | 139 void DoneReadingRedirectResponse() override; |
141 | 140 |
142 HostPortPair GetSocketAddress() const override; | 141 HostPortPair GetSocketAddress() const override; |
143 void NotifyURLRequestDestroyed() override; | 142 void NotifyURLRequestDestroyed() override; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 int64_t total_sent_bytes_from_previous_transactions_; | 271 int64_t total_sent_bytes_from_previous_transactions_; |
273 | 272 |
274 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; | 273 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; |
275 | 274 |
276 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 275 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
277 }; | 276 }; |
278 | 277 |
279 } // namespace net | 278 } // namespace net |
280 | 279 |
281 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 280 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
OLD | NEW |