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