OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_H_ |
6 #define NET_URL_REQUEST_URL_REQUEST_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/file_path.h" | |
13 #include "base/linked_ptr.h" | 12 #include "base/linked_ptr.h" |
14 #include "base/logging.h" | 13 #include "base/logging.h" |
15 #include "base/ref_counted.h" | 14 #include "base/ref_counted.h" |
16 #include "base/scoped_ptr.h" | 15 #include "base/scoped_ptr.h" |
17 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
18 #include "net/base/load_states.h" | 17 #include "net/base/load_states.h" |
19 #include "net/http/http_response_info.h" | 18 #include "net/http/http_response_info.h" |
20 #include "net/url_request/url_request_status.h" | 19 #include "net/url_request/url_request_status.h" |
21 | 20 |
22 namespace base { | 21 namespace base { |
23 class Time; | 22 class Time; |
24 } // namespace base | 23 } // namespace base |
25 | 24 |
26 namespace net { | 25 namespace net { |
27 class IOBuffer; | 26 class IOBuffer; |
28 class UploadData; | 27 class UploadData; |
29 class X509Certificate; | 28 class X509Certificate; |
30 } // namespace net | 29 } // namespace net |
31 | 30 |
| 31 class FilePath; |
32 class URLRequestContext; | 32 class URLRequestContext; |
33 class URLRequestJob; | 33 class URLRequestJob; |
34 | 34 |
35 // This stores the values of the Set-Cookie headers received during the request. | 35 // This stores the values of the Set-Cookie headers received during the request. |
36 // Each item in the vector corresponds to a Set-Cookie: line received, | 36 // Each item in the vector corresponds to a Set-Cookie: line received, |
37 // excluding the "Set-Cookie:" part. | 37 // excluding the "Set-Cookie:" part. |
38 typedef std::vector<std::string> ResponseCookies; | 38 typedef std::vector<std::string> ResponseCookies; |
39 | 39 |
40 //----------------------------------------------------------------------------- | 40 //----------------------------------------------------------------------------- |
41 // A class representing the asynchronous load of a data stream from an URL. | 41 // A class representing the asynchronous load of a data stream from an URL. |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 #define URLREQUEST_COUNT_DTOR() url_request_metrics.object_count-- | 577 #define URLREQUEST_COUNT_DTOR() url_request_metrics.object_count-- |
578 | 578 |
579 #else // disable leak checking in release builds... | 579 #else // disable leak checking in release builds... |
580 | 580 |
581 #define URLREQUEST_COUNT_CTOR() | 581 #define URLREQUEST_COUNT_CTOR() |
582 #define URLREQUEST_COUNT_DTOR() | 582 #define URLREQUEST_COUNT_DTOR() |
583 | 583 |
584 #endif // #ifndef NDEBUG | 584 #endif // #ifndef NDEBUG |
585 | 585 |
586 #endif // NET_URL_REQUEST_URL_REQUEST_H_ | 586 #endif // NET_URL_REQUEST_URL_REQUEST_H_ |
OLD | NEW |