| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 } | 47 } |
| 48 | 48 |
| 49 namespace safe_browsing { | 49 namespace safe_browsing { |
| 50 class PhishingClassifierFilter; | 50 class PhishingClassifierFilter; |
| 51 } | 51 } |
| 52 | 52 |
| 53 namespace visitedlink { | 53 namespace visitedlink { |
| 54 class VisitedLinkSlave; | 54 class VisitedLinkSlave; |
| 55 } | 55 } |
| 56 | 56 |
| 57 namespace web_cache { |
| 58 class WebCacheRenderProcessObserver; |
| 59 } |
| 60 |
| 57 namespace blink { | 61 namespace blink { |
| 58 class WebSecurityOrigin; | 62 class WebSecurityOrigin; |
| 59 } | 63 } |
| 60 | 64 |
| 61 namespace password_manager { | 65 namespace password_manager { |
| 62 class CredentialManagerClient; | 66 class CredentialManagerClient; |
| 63 } | 67 } |
| 64 | 68 |
| 65 #if defined(ENABLE_WEBRTC) | 69 #if defined(ENABLE_WEBRTC) |
| 66 class WebRtcLoggingMessageFilter; | 70 class WebRtcLoggingMessageFilter; |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 | 193 |
| 190 // Determines if a NaCl app is allowed, and modifies params to pass the app's | 194 // Determines if a NaCl app is allowed, and modifies params to pass the app's |
| 191 // permissions to the trusted NaCl plugin. | 195 // permissions to the trusted NaCl plugin. |
| 192 static bool IsNaClAllowed(const GURL& manifest_url, | 196 static bool IsNaClAllowed(const GURL& manifest_url, |
| 193 const GURL& app_url, | 197 const GURL& app_url, |
| 194 bool is_nacl_unrestricted, | 198 bool is_nacl_unrestricted, |
| 195 const extensions::Extension* extension, | 199 const extensions::Extension* extension, |
| 196 blink::WebPluginParams* params); | 200 blink::WebPluginParams* params); |
| 197 | 201 |
| 198 scoped_ptr<ChromeRenderProcessObserver> chrome_observer_; | 202 scoped_ptr<ChromeRenderProcessObserver> chrome_observer_; |
| 203 scoped_ptr<web_cache::WebCacheRenderProcessObserver> web_cache_observer_; |
| 199 scoped_ptr<ChromeExtensionsDispatcherDelegate> extension_dispatcher_delegate_; | 204 scoped_ptr<ChromeExtensionsDispatcherDelegate> extension_dispatcher_delegate_; |
| 200 scoped_ptr<extensions::Dispatcher> extension_dispatcher_; | 205 scoped_ptr<extensions::Dispatcher> extension_dispatcher_; |
| 201 scoped_ptr<extensions::RendererPermissionsPolicyDelegate> | 206 scoped_ptr<extensions::RendererPermissionsPolicyDelegate> |
| 202 permissions_policy_delegate_; | 207 permissions_policy_delegate_; |
| 203 scoped_ptr<PrescientNetworkingDispatcher> prescient_networking_dispatcher_; | 208 scoped_ptr<PrescientNetworkingDispatcher> prescient_networking_dispatcher_; |
| 204 scoped_ptr<RendererNetPredictor> net_predictor_; | 209 scoped_ptr<RendererNetPredictor> net_predictor_; |
| 205 scoped_ptr<password_manager::CredentialManagerClient> | 210 scoped_ptr<password_manager::CredentialManagerClient> |
| 206 credential_manager_client_; | 211 credential_manager_client_; |
| 207 #if defined(ENABLE_SPELLCHECK) | 212 #if defined(ENABLE_SPELLCHECK) |
| 208 scoped_ptr<SpellCheck> spellcheck_; | 213 scoped_ptr<SpellCheck> spellcheck_; |
| 209 #endif | 214 #endif |
| 210 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; | 215 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; |
| 211 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 216 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
| 212 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 217 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
| 213 #if defined(ENABLE_WEBRTC) | 218 #if defined(ENABLE_WEBRTC) |
| 214 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 219 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
| 215 #endif | 220 #endif |
| 216 scoped_ptr<SearchBouncer> search_bouncer_; | 221 scoped_ptr<SearchBouncer> search_bouncer_; |
| 217 #if defined(ENABLE_FULL_PRINTING) | 222 #if defined(ENABLE_FULL_PRINTING) |
| 218 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 223 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
| 219 #endif | 224 #endif |
| 220 #if defined(ENABLE_PLUGINS) | 225 #if defined(ENABLE_PLUGINS) |
| 221 std::set<std::string> allowed_compositor_origins_; | 226 std::set<std::string> allowed_compositor_origins_; |
| 222 std::set<std::string> allowed_video_decode_origins_; | 227 std::set<std::string> allowed_video_decode_origins_; |
| 223 #endif | 228 #endif |
| 224 }; | 229 }; |
| 225 | 230 |
| 226 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 231 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |