| 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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 namespace network_hints { | 38 namespace network_hints { |
| 39 class PrescientNetworkingDispatcher; | 39 class PrescientNetworkingDispatcher; |
| 40 } | 40 } |
| 41 | 41 |
| 42 namespace extensions { | 42 namespace extensions { |
| 43 class Dispatcher; | 43 class Dispatcher; |
| 44 class Extension; | 44 class Extension; |
| 45 class ExtensionSet; | 45 class ExtensionSet; |
| 46 class ExtensionsGuestViewContainerDispatcher; | 46 class ExtensionsGuestViewContainerDispatcher; |
| 47 class RendererPermissionsPolicyDelegate; | 47 class RendererPermissionsPolicyDelegate; |
| 48 class ResourceRequestPolicy; |
| 48 } | 49 } |
| 49 | 50 |
| 50 namespace prerender { | 51 namespace prerender { |
| 51 class PrerenderDispatcher; | 52 class PrerenderDispatcher; |
| 52 } | 53 } |
| 53 | 54 |
| 54 namespace safe_browsing { | 55 namespace safe_browsing { |
| 55 class PhishingClassifierFilter; | 56 class PhishingClassifierFilter; |
| 56 } | 57 } |
| 57 | 58 |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 | 222 |
| 222 // TODO(thestig): Extract into a separate file if possible. Cleanup | 223 // TODO(thestig): Extract into a separate file if possible. Cleanup |
| 223 // ENABLE_EXTENSIONS ifdefs in the .cc file as well. | 224 // ENABLE_EXTENSIONS ifdefs in the .cc file as well. |
| 224 #if defined(ENABLE_EXTENSIONS) | 225 #if defined(ENABLE_EXTENSIONS) |
| 225 scoped_ptr<ChromeExtensionsDispatcherDelegate> extension_dispatcher_delegate_; | 226 scoped_ptr<ChromeExtensionsDispatcherDelegate> extension_dispatcher_delegate_; |
| 226 scoped_ptr<extensions::Dispatcher> extension_dispatcher_; | 227 scoped_ptr<extensions::Dispatcher> extension_dispatcher_; |
| 227 scoped_ptr<extensions::RendererPermissionsPolicyDelegate> | 228 scoped_ptr<extensions::RendererPermissionsPolicyDelegate> |
| 228 permissions_policy_delegate_; | 229 permissions_policy_delegate_; |
| 229 scoped_ptr<extensions::ExtensionsGuestViewContainerDispatcher> | 230 scoped_ptr<extensions::ExtensionsGuestViewContainerDispatcher> |
| 230 guest_view_container_dispatcher_; | 231 guest_view_container_dispatcher_; |
| 232 scoped_ptr<extensions::ResourceRequestPolicy> resource_request_policy_; |
| 231 #endif | 233 #endif |
| 232 | 234 |
| 233 scoped_ptr<network_hints::PrescientNetworkingDispatcher> | 235 scoped_ptr<network_hints::PrescientNetworkingDispatcher> |
| 234 prescient_networking_dispatcher_; | 236 prescient_networking_dispatcher_; |
| 235 scoped_ptr<password_manager::CredentialManagerClient> | 237 scoped_ptr<password_manager::CredentialManagerClient> |
| 236 credential_manager_client_; | 238 credential_manager_client_; |
| 237 #if defined(ENABLE_SPELLCHECK) | 239 #if defined(ENABLE_SPELLCHECK) |
| 238 scoped_ptr<SpellCheck> spellcheck_; | 240 scoped_ptr<SpellCheck> spellcheck_; |
| 239 #endif | 241 #endif |
| 240 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; | 242 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; |
| 241 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 243 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
| 242 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 244 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
| 243 #if defined(ENABLE_WEBRTC) | 245 #if defined(ENABLE_WEBRTC) |
| 244 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 246 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
| 245 #endif | 247 #endif |
| 246 #if defined(ENABLE_PRINT_PREVIEW) | 248 #if defined(ENABLE_PRINT_PREVIEW) |
| 247 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 249 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
| 248 #endif | 250 #endif |
| 249 #if defined(ENABLE_PLUGINS) | 251 #if defined(ENABLE_PLUGINS) |
| 250 std::set<std::string> allowed_camera_device_origins_; | 252 std::set<std::string> allowed_camera_device_origins_; |
| 251 std::set<std::string> allowed_compositor_origins_; | 253 std::set<std::string> allowed_compositor_origins_; |
| 252 #endif | 254 #endif |
| 253 }; | 255 }; |
| 254 | 256 |
| 255 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 257 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |