OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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/leak_tracker.h" | 12 #include "base/leak_tracker.h" |
| 13 #include "base/linked_list.h" |
13 #include "base/linked_ptr.h" | 14 #include "base/linked_ptr.h" |
14 #include "base/logging.h" | 15 #include "base/logging.h" |
15 #include "base/non_thread_safe.h" | 16 #include "base/non_thread_safe.h" |
16 #include "base/ref_counted.h" | 17 #include "base/ref_counted.h" |
| 18 #include "base/scoped_ptr.h" |
17 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
18 #include "net/base/load_states.h" | 20 #include "net/base/load_states.h" |
19 #include "net/base/net_log.h" | 21 #include "net/base/net_log.h" |
20 #include "net/base/request_priority.h" | 22 #include "net/base/request_priority.h" |
21 #include "net/http/http_request_headers.h" | 23 #include "net/http/http_request_headers.h" |
22 #include "net/http/http_response_info.h" | 24 #include "net/http/http_response_info.h" |
23 #include "net/url_request/url_request_status.h" | 25 #include "net/url_request/url_request_status.h" |
24 | 26 |
25 namespace base { | 27 namespace base { |
26 class Time; | 28 class Time; |
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 // The priority level for this request. Objects like ClientSocketPool use | 646 // The priority level for this request. Objects like ClientSocketPool use |
645 // this to determine which URLRequest to allocate sockets to first. | 647 // this to determine which URLRequest to allocate sockets to first. |
646 net::RequestPriority priority_; | 648 net::RequestPriority priority_; |
647 | 649 |
648 base::LeakTracker<URLRequest> leak_tracker_; | 650 base::LeakTracker<URLRequest> leak_tracker_; |
649 | 651 |
650 DISALLOW_COPY_AND_ASSIGN(URLRequest); | 652 DISALLOW_COPY_AND_ASSIGN(URLRequest); |
651 }; | 653 }; |
652 | 654 |
653 #endif // NET_URL_REQUEST_URL_REQUEST_H_ | 655 #endif // NET_URL_REQUEST_URL_REQUEST_H_ |
OLD | NEW |