| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/leak_tracker.h" | 13 #include "base/debug/leak_tracker.h" |
| 14 #include "base/linked_ptr.h" | 14 #include "base/linked_ptr.h" |
| 15 #include "base/logging.h" | 15 #include "base/logging.h" |
| 16 #include "base/non_thread_safe.h" | 16 #include "base/non_thread_safe.h" |
| 17 #include "base/ref_counted.h" | 17 #include "base/ref_counted.h" |
| 18 #include "base/string16.h" | 18 #include "base/string16.h" |
| 19 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
| 20 #include "net/base/load_states.h" | 20 #include "net/base/load_states.h" |
| 21 #include "net/base/net_log.h" | 21 #include "net/base/net_log.h" |
| 22 #include "net/base/request_priority.h" | 22 #include "net/base/request_priority.h" |
| 23 #include "net/http/http_request_headers.h" | 23 #include "net/http/http_request_headers.h" |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 int redirect_limit_; | 627 int redirect_limit_; |
| 628 | 628 |
| 629 // Cached value for use after we've orphaned the job handling the | 629 // Cached value for use after we've orphaned the job handling the |
| 630 // first transaction in a request involving redirects. | 630 // first transaction in a request involving redirects. |
| 631 uint64 final_upload_progress_; | 631 uint64 final_upload_progress_; |
| 632 | 632 |
| 633 // The priority level for this request. Objects like ClientSocketPool use | 633 // The priority level for this request. Objects like ClientSocketPool use |
| 634 // this to determine which URLRequest to allocate sockets to first. | 634 // this to determine which URLRequest to allocate sockets to first. |
| 635 net::RequestPriority priority_; | 635 net::RequestPriority priority_; |
| 636 | 636 |
| 637 base::LeakTracker<URLRequest> leak_tracker_; | 637 base::debug::LeakTracker<URLRequest> leak_tracker_; |
| 638 | 638 |
| 639 DISALLOW_COPY_AND_ASSIGN(URLRequest); | 639 DISALLOW_COPY_AND_ASSIGN(URLRequest); |
| 640 }; | 640 }; |
| 641 | 641 |
| 642 #endif // NET_URL_REQUEST_URL_REQUEST_H_ | 642 #endif // NET_URL_REQUEST_URL_REQUEST_H_ |
| OLD | NEW |