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