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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 void GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; | 122 void GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const override; |
123 bool GetRemoteEndpoint(IPEndPoint* endpoint) const override; | 123 bool GetRemoteEndpoint(IPEndPoint* endpoint) const 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 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( |
133 SSLPrivateKey* client_private_key) override; | 133 scoped_refptr<X509Certificate> client_cert, |
| 134 scoped_refptr<SSLPrivateKey> client_private_key) override; |
134 void ContinueDespiteLastError() override; | 135 void ContinueDespiteLastError() override; |
135 int ReadRawData(IOBuffer* buf, int buf_size) override; | 136 int ReadRawData(IOBuffer* buf, int buf_size) override; |
136 void StopCaching() override; | 137 void StopCaching() override; |
137 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override; | 138 bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override; |
138 int64_t GetTotalReceivedBytes() const override; | 139 int64_t GetTotalReceivedBytes() const override; |
139 int64_t GetTotalSentBytes() const override; | 140 int64_t GetTotalSentBytes() const override; |
140 void DoneReading() override; | 141 void DoneReading() override; |
141 void DoneReadingRedirectResponse() override; | 142 void DoneReadingRedirectResponse() override; |
142 | 143 |
143 HostPortPair GetSocketAddress() const override; | 144 HostPortPair GetSocketAddress() const override; |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 int64_t total_sent_bytes_from_previous_transactions_; | 265 int64_t total_sent_bytes_from_previous_transactions_; |
265 | 266 |
266 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; | 267 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; |
267 | 268 |
268 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 269 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
269 }; | 270 }; |
270 | 271 |
271 } // namespace net | 272 } // namespace net |
272 | 273 |
273 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 274 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
OLD | NEW |