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_MANAGER_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_THROTTLER_MANAGER_H_ |
6 #define NET_URL_REQUEST_URL_REQUEST_THROTTLER_MANAGER_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_THROTTLER_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
16 #include "base/threading/platform_thread.h" | 16 #include "base/threading/platform_thread.h" |
17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.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 "net/url_request/url_request_throttler_entry.h" | 20 #include "net/url_request/url_request_throttler_entry.h" |
21 | 21 |
22 namespace net { | 22 namespace net { |
23 | 23 |
24 class BoundNetLog; | 24 class BoundNetLog; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 161 |
162 // Valid once we've registered for network notifications. | 162 // Valid once we've registered for network notifications. |
163 base::PlatformThreadId registered_from_thread_; | 163 base::PlatformThreadId registered_from_thread_; |
164 | 164 |
165 DISALLOW_COPY_AND_ASSIGN(URLRequestThrottlerManager); | 165 DISALLOW_COPY_AND_ASSIGN(URLRequestThrottlerManager); |
166 }; | 166 }; |
167 | 167 |
168 } // namespace net | 168 } // namespace net |
169 | 169 |
170 #endif // NET_URL_REQUEST_URL_REQUEST_THROTTLER_MANAGER_H_ | 170 #endif // NET_URL_REQUEST_URL_REQUEST_THROTTLER_MANAGER_H_ |
OLD | NEW |