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_MANAGER_H_ | 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_THROTTLE_MANAGER_H_ |
6 #define EXTENSIONS_BROWSER_EXTENSION_THROTTLE_MANAGER_H_ | 6 #define EXTENSIONS_BROWSER_EXTENSION_THROTTLE_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
15 #include "base/threading/platform_thread.h" | 15 #include "base/threading/platform_thread.h" |
16 #include "extensions/browser/extension_throttle_entry.h" | 16 #include "extensions/browser/extension_throttle_entry.h" |
17 #include "net/base/backoff_entry.h" | 17 #include "net/base/backoff_entry.h" |
18 #include "net/base/net_export.h" | 18 #include "net/base/net_export.h" |
19 #include "net/base/network_change_notifier.h" | 19 #include "net/base/network_change_notifier.h" |
20 #include "url/gurl.h" | 20 #include "url/gurl.h" |
21 | 21 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 176 |
177 // This is NULL when it is not set for tests. | 177 // This is NULL when it is not set for tests. |
178 scoped_ptr<net::BackoffEntry::Policy> backoff_policy_for_tests_; | 178 scoped_ptr<net::BackoffEntry::Policy> backoff_policy_for_tests_; |
179 | 179 |
180 DISALLOW_COPY_AND_ASSIGN(ExtensionThrottleManager); | 180 DISALLOW_COPY_AND_ASSIGN(ExtensionThrottleManager); |
181 }; | 181 }; |
182 | 182 |
183 } // namespace extensions | 183 } // namespace extensions |
184 | 184 |
185 #endif // EXTENSIONS_BROWSER_EXTENSION_THROTTLE_MANAGER_H_ | 185 #endif // EXTENSIONS_BROWSER_EXTENSION_THROTTLE_MANAGER_H_ |
OLD | NEW |