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 |
210 #if defined(ENABLE_SPELLCHECK) | 213 #if defined(ENABLE_SPELLCHECK) |
211 std::unique_ptr<SpellCheck> spellcheck_; | 214 std::unique_ptr<SpellCheck> spellcheck_; |
212 #endif | 215 #endif |
213 std::unique_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; | 216 std::unique_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; |
214 std::unique_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 217 std::unique_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
215 std::unique_ptr<subresource_filter::RulesetDealer> | 218 std::unique_ptr<subresource_filter::RulesetDealer> |
216 subresource_filter_ruleset_dealer_; | 219 subresource_filter_ruleset_dealer_; |
217 std::unique_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 220 std::unique_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
218 #if defined(ENABLE_WEBRTC) | 221 #if defined(ENABLE_WEBRTC) |
219 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 222 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
220 #endif | 223 #endif |
221 #if defined(ENABLE_PRINT_PREVIEW) | 224 #if defined(ENABLE_PRINT_PREVIEW) |
222 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_; | 225 std::unique_ptr<ChromePDFPrintClient> pdf_print_client_; |
223 #endif | 226 #endif |
224 #if defined(ENABLE_PLUGINS) | 227 #if defined(ENABLE_PLUGINS) |
225 std::set<std::string> allowed_camera_device_origins_; | 228 std::set<std::string> allowed_camera_device_origins_; |
226 std::set<std::string> allowed_compositor_origins_; | 229 std::set<std::string> allowed_compositor_origins_; |
227 #endif | 230 #endif |
228 }; | 231 }; |
229 | 232 |
230 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 233 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |