OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef NET_URL_REQUEST_URL_REQUEST_FILTER_H_ | 4 #ifndef NET_URL_REQUEST_URL_REQUEST_FILTER_H_ |
5 #define NET_URL_REQUEST_URL_REQUEST_FILTER_H_ | 5 #define NET_URL_REQUEST_URL_REQUEST_FILTER_H_ |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
13 #include "net/url_request/url_request_interceptor.h" | 14 #include "net/url_request/url_request_interceptor.h" |
14 | 15 |
15 class GURL; | 16 class GURL; |
16 | 17 |
17 namespace net { | 18 namespace net { |
18 class URLRequest; | 19 class URLRequest; |
19 class URLRequestJob; | 20 class URLRequestJob; |
20 class URLRequestInterceptor; | 21 class URLRequestInterceptor; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 89 |
89 // Singleton instance. | 90 // Singleton instance. |
90 static URLRequestFilter* shared_instance_; | 91 static URLRequestFilter* shared_instance_; |
91 | 92 |
92 DISALLOW_COPY_AND_ASSIGN(URLRequestFilter); | 93 DISALLOW_COPY_AND_ASSIGN(URLRequestFilter); |
93 }; | 94 }; |
94 | 95 |
95 } // namespace net | 96 } // namespace net |
96 | 97 |
97 #endif // NET_URL_REQUEST_URL_REQUEST_FILTER_H_ | 98 #endif // NET_URL_REQUEST_URL_REQUEST_FILTER_H_ |
OLD | NEW |