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 19 matching lines...) Expand all Loading... |
30 namespace net { | 30 namespace net { |
31 | 31 |
32 class HttpRequestHeaders; | 32 class HttpRequestHeaders; |
33 class HttpResponseHeaders; | 33 class HttpResponseHeaders; |
34 class HttpResponseInfo; | 34 class HttpResponseInfo; |
35 class HttpTransaction; | 35 class HttpTransaction; |
36 class HttpUserAgentSettings; | 36 class HttpUserAgentSettings; |
37 class ProxyInfo; | 37 class ProxyInfo; |
38 class SSLPrivateKey; | 38 class SSLPrivateKey; |
39 class UploadDataStream; | 39 class UploadDataStream; |
40 class URLRequestContext; | |
41 | 40 |
42 // A URLRequestJob subclass that is built on top of HttpTransaction. It | 41 // A URLRequestJob subclass that is built on top of HttpTransaction. It |
43 // provides an implementation for both HTTP and HTTPS. | 42 // provides an implementation for both HTTP and HTTPS. |
44 class NET_EXPORT_PRIVATE URLRequestHttpJob : public URLRequestJob { | 43 class NET_EXPORT_PRIVATE URLRequestHttpJob : public URLRequestJob { |
45 public: | 44 public: |
46 static URLRequestJob* Factory(URLRequest* request, | 45 static URLRequestJob* Factory(URLRequest* request, |
47 NetworkDelegate* network_delegate, | 46 NetworkDelegate* network_delegate, |
48 const std::string& scheme); | 47 const std::string& scheme); |
49 | 48 |
50 // Record Sdch specific packet stats. Public so that SdchPolicyDelegate can | 49 // Record Sdch specific packet stats. Public so that SdchPolicyDelegate can |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 int64_t total_sent_bytes_from_previous_transactions_; | 260 int64_t total_sent_bytes_from_previous_transactions_; |
262 | 261 |
263 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; | 262 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; |
264 | 263 |
265 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); | 264 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); |
266 }; | 265 }; |
267 | 266 |
268 } // namespace net | 267 } // namespace net |
269 | 268 |
270 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ | 269 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ |
OLD | NEW |