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 CONTENT_BROWSER_LOADER_MIME_SNIFFING_RESOURCE_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_MIME_SNIFFING_RESOURCE_HANDLER_H_ |
6 #define CONTENT_BROWSER_LOADER_MIME_SNIFFING_RESOURCE_HANDLER_H_ | 6 #define CONTENT_BROWSER_LOADER_MIME_SNIFFING_RESOURCE_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "content/browser/loader/layered_resource_handler.h" | 13 #include "content/browser/loader/layered_resource_handler.h" |
| 14 #include "content/browser/loader/resource_controller.h" |
14 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
15 #include "content/public/browser/resource_controller.h" | |
16 #include "content/public/common/request_context_type.h" | 16 #include "content/public/common/request_context_type.h" |
17 #include "ppapi/features/features.h" | 17 #include "ppapi/features/features.h" |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 class URLRequest; | 20 class URLRequest; |
21 } | 21 } |
22 | 22 |
23 namespace content { | 23 namespace content { |
24 class InterceptingResourceHandler; | 24 class InterceptingResourceHandler; |
25 class PluginService; | 25 class PluginService; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 RequestContextType request_context_type_; | 171 RequestContextType request_context_type_; |
172 | 172 |
173 base::WeakPtrFactory<MimeSniffingResourceHandler> weak_ptr_factory_; | 173 base::WeakPtrFactory<MimeSniffingResourceHandler> weak_ptr_factory_; |
174 | 174 |
175 DISALLOW_COPY_AND_ASSIGN(MimeSniffingResourceHandler); | 175 DISALLOW_COPY_AND_ASSIGN(MimeSniffingResourceHandler); |
176 }; | 176 }; |
177 | 177 |
178 } // namespace content | 178 } // namespace content |
179 | 179 |
180 #endif // CONTENT_BROWSER_LOADER_MIME_SNIFFING_RESOURCE_HANDLER_H_ | 180 #endif // CONTENT_BROWSER_LOADER_MIME_SNIFFING_RESOURCE_HANDLER_H_ |
OLD | NEW |