| 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_THROTTLER_ENTRY_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_THROTTLER_ENTRY_H_ |
| 6 #define NET_URL_REQUEST_URL_REQUEST_THROTTLER_ENTRY_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_THROTTLER_ENTRY_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 147 |
| 148 // Access it through GetBackoffEntry() to allow a unit test seam. | 148 // Access it through GetBackoffEntry() to allow a unit test seam. |
| 149 BackoffEntry backoff_entry_; | 149 BackoffEntry backoff_entry_; |
| 150 | 150 |
| 151 // Weak back-reference to the manager object managing us. | 151 // Weak back-reference to the manager object managing us. |
| 152 URLRequestThrottlerManager* manager_; | 152 URLRequestThrottlerManager* manager_; |
| 153 | 153 |
| 154 // Canonicalized URL string that this entry is for; used for logging only. | 154 // Canonicalized URL string that this entry is for; used for logging only. |
| 155 std::string url_id_; | 155 std::string url_id_; |
| 156 | 156 |
| 157 BoundNetLog net_log_; | 157 NetLogWithSource net_log_; |
| 158 | 158 |
| 159 DISALLOW_COPY_AND_ASSIGN(URLRequestThrottlerEntry); | 159 DISALLOW_COPY_AND_ASSIGN(URLRequestThrottlerEntry); |
| 160 }; | 160 }; |
| 161 | 161 |
| 162 } // namespace net | 162 } // namespace net |
| 163 | 163 |
| 164 #endif // NET_URL_REQUEST_URL_REQUEST_THROTTLER_ENTRY_H_ | 164 #endif // NET_URL_REQUEST_URL_REQUEST_THROTTLER_ENTRY_H_ |
| OLD | NEW |