Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 644123002: Componentize renderer side of DNS prefetching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 #include "content/public/renderer/content_renderer_client.h" 15 #include "content/public/renderer/content_renderer_client.h"
16 #include "ipc/ipc_channel_proxy.h" 16 #include "ipc/ipc_channel_proxy.h"
17 17
18 class ChromeExtensionsDispatcherDelegate; 18 class ChromeExtensionsDispatcherDelegate;
19 class ChromeRenderProcessObserver; 19 class ChromeRenderProcessObserver;
20 #if defined(ENABLE_FULL_PRINTING) 20 #if defined(ENABLE_FULL_PRINTING)
21 class ChromePDFPrintClient; 21 class ChromePDFPrintClient;
22 #endif 22 #endif
23 class PrescientNetworkingDispatcher; 23 class PrescientNetworkingDispatcher;
24 class RendererNetPredictor;
25 class SearchBouncer; 24 class SearchBouncer;
26 #if defined(ENABLE_SPELLCHECK) 25 #if defined(ENABLE_SPELLCHECK)
27 class SpellCheck; 26 class SpellCheck;
28 class SpellCheckProvider; 27 class SpellCheckProvider;
29 #endif 28 #endif
30 29
31 struct ChromeViewHostMsg_GetPluginInfo_Output; 30 struct ChromeViewHostMsg_GetPluginInfo_Output;
32 31
33 namespace content { 32 namespace content {
34 class BrowserPluginDelegate; 33 class BrowserPluginDelegate;
35 struct WebPluginInfo; 34 struct WebPluginInfo;
36 } 35 }
37 36
38 namespace extensions { 37 namespace extensions {
39 class Dispatcher; 38 class Dispatcher;
40 class Extension; 39 class Extension;
41 class ExtensionSet; 40 class ExtensionSet;
42 class RendererPermissionsPolicyDelegate; 41 class RendererPermissionsPolicyDelegate;
43 } 42 }
44 43
44 namespace predictor {
45 class RendererNetPredictor;
46 }
47
45 namespace prerender { 48 namespace prerender {
46 class PrerenderDispatcher; 49 class PrerenderDispatcher;
47 } 50 }
48 51
49 namespace safe_browsing { 52 namespace safe_browsing {
50 class PhishingClassifierFilter; 53 class PhishingClassifierFilter;
51 } 54 }
52 55
53 namespace visitedlink { 56 namespace visitedlink {
54 class VisitedLinkSlave; 57 class VisitedLinkSlave;
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 // TODO(thestig): Extract into a separate file if possible. Cleanup 210 // TODO(thestig): Extract into a separate file if possible. Cleanup
208 // ENABLE_EXTENSIONS ifdefs in the .cc file as well. 211 // ENABLE_EXTENSIONS ifdefs in the .cc file as well.
209 #if defined(ENABLE_EXTENSIONS) 212 #if defined(ENABLE_EXTENSIONS)
210 scoped_ptr<ChromeExtensionsDispatcherDelegate> extension_dispatcher_delegate_; 213 scoped_ptr<ChromeExtensionsDispatcherDelegate> extension_dispatcher_delegate_;
211 scoped_ptr<extensions::Dispatcher> extension_dispatcher_; 214 scoped_ptr<extensions::Dispatcher> extension_dispatcher_;
212 scoped_ptr<extensions::RendererPermissionsPolicyDelegate> 215 scoped_ptr<extensions::RendererPermissionsPolicyDelegate>
213 permissions_policy_delegate_; 216 permissions_policy_delegate_;
214 #endif 217 #endif
215 218
216 scoped_ptr<PrescientNetworkingDispatcher> prescient_networking_dispatcher_; 219 scoped_ptr<PrescientNetworkingDispatcher> prescient_networking_dispatcher_;
217 scoped_ptr<RendererNetPredictor> net_predictor_; 220 scoped_ptr<predictor::RendererNetPredictor> net_predictor_;
218 scoped_ptr<password_manager::CredentialManagerClient> 221 scoped_ptr<password_manager::CredentialManagerClient>
219 credential_manager_client_; 222 credential_manager_client_;
220 #if defined(ENABLE_SPELLCHECK) 223 #if defined(ENABLE_SPELLCHECK)
221 scoped_ptr<SpellCheck> spellcheck_; 224 scoped_ptr<SpellCheck> spellcheck_;
222 #endif 225 #endif
223 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; 226 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
224 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 227 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
225 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; 228 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;
226 #if defined(ENABLE_WEBRTC) 229 #if defined(ENABLE_WEBRTC)
227 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; 230 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_;
228 #endif 231 #endif
229 scoped_ptr<SearchBouncer> search_bouncer_; 232 scoped_ptr<SearchBouncer> search_bouncer_;
230 #if defined(ENABLE_FULL_PRINTING) 233 #if defined(ENABLE_FULL_PRINTING)
231 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; 234 scoped_ptr<ChromePDFPrintClient> pdf_print_client_;
232 #endif 235 #endif
233 #if defined(ENABLE_PLUGINS) 236 #if defined(ENABLE_PLUGINS)
234 std::set<std::string> allowed_compositor_origins_; 237 std::set<std::string> allowed_compositor_origins_;
235 std::set<std::string> allowed_video_decode_origins_; 238 std::set<std::string> allowed_video_decode_origins_;
236 #endif 239 #endif
237 }; 240 };
238 241
239 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 242 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698