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 <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 static bool IsNaClAllowed(const GURL& manifest_url, | 200 static bool IsNaClAllowed(const GURL& manifest_url, |
201 const GURL& app_url, | 201 const GURL& app_url, |
202 bool is_nacl_unrestricted, | 202 bool is_nacl_unrestricted, |
203 const extensions::Extension* extension, | 203 const extensions::Extension* extension, |
204 blink::WebPluginParams* params); | 204 blink::WebPluginParams* params); |
205 #endif | 205 #endif |
206 | 206 |
207 std::unique_ptr<ChromeRenderThreadObserver> chrome_observer_; | 207 std::unique_ptr<ChromeRenderThreadObserver> chrome_observer_; |
208 std::unique_ptr<web_cache::WebCacheImpl> web_cache_impl_; | 208 std::unique_ptr<web_cache::WebCacheImpl> web_cache_impl_; |
209 | 209 |
210 std::unique_ptr<network_hints::PrescientNetworkingDispatcher> | |
211 prescient_networking_dispatcher_; | |
212 | |
213 #if defined(ENABLE_SPELLCHECK) | 210 #if defined(ENABLE_SPELLCHECK) |
214 std::unique_ptr<SpellCheck> spellcheck_; | 211 std::unique_ptr<SpellCheck> spellcheck_; |
215 #endif | 212 #endif |
216 std::unique_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; | 213 std::unique_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; |
217 std::unique_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 214 std::unique_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
218 std::unique_ptr<subresource_filter::RulesetDealer> | 215 std::unique_ptr<subresource_filter::RulesetDealer> |
219 subresource_filter_ruleset_dealer_; | 216 subresource_filter_ruleset_dealer_; |
220 std::unique_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 217 std::unique_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
221 #if defined(ENABLE_WEBRTC) | 218 #if defined(ENABLE_WEBRTC) |
222 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 219 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
223 #endif | 220 #endif |
224 #if defined(ENABLE_PRINT_PREVIEW) | 221 #if defined(ENABLE_PRINT_PREVIEW) |
225 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_; | 222 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_; |
226 #endif | 223 #endif |
227 #if defined(ENABLE_PLUGINS) | 224 #if defined(ENABLE_PLUGINS) |
228 std::set<std::string> allowed_camera_device_origins_; | 225 std::set<std::string> allowed_camera_device_origins_; |
229 std::set<std::string> allowed_compositor_origins_; | 226 std::set<std::string> allowed_compositor_origins_; |
230 #endif | 227 #endif |
231 }; | 228 }; |
232 | 229 |
233 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 230 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |