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