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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Add metrics and support for non-ASCII text messages to Java endpoints Created 3 years, 11 months 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 class SharedPersistentMemoryAllocator; 52 class SharedPersistentMemoryAllocator;
53 } 53 }
54 54
55 namespace content { 55 namespace content {
56 class AudioInputRendererHost; 56 class AudioInputRendererHost;
57 class AudioRendererHost; 57 class AudioRendererHost;
58 class ChildConnection; 58 class ChildConnection;
59 class GpuClient; 59 class GpuClient;
60 class IndexedDBDispatcherHost; 60 class IndexedDBDispatcherHost;
61 class InProcessChildThreadParams; 61 class InProcessChildThreadParams;
62 class MessagePortMessageFilter;
63 class NotificationMessageFilter; 62 class NotificationMessageFilter;
64 #if BUILDFLAG(ENABLE_WEBRTC) 63 #if BUILDFLAG(ENABLE_WEBRTC)
65 class P2PSocketDispatcherHost; 64 class P2PSocketDispatcherHost;
66 #endif 65 #endif
67 class PermissionServiceContext; 66 class PermissionServiceContext;
68 class PeerConnectionTrackerHost; 67 class PeerConnectionTrackerHost;
69 class RenderFrameMessageFilter; 68 class RenderFrameMessageFilter;
70 class RenderWidgetHelper; 69 class RenderWidgetHelper;
71 class RenderWidgetHost; 70 class RenderWidgetHost;
72 class ResourceMessageFilter; 71 class ResourceMessageFilter;
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 // This forces a renderer that is running "in process" to shut down. 248 // This forces a renderer that is running "in process" to shut down.
250 static void ShutDownInProcessRenderer(); 249 static void ShutDownInProcessRenderer();
251 250
252 static void RegisterRendererMainThreadFactory( 251 static void RegisterRendererMainThreadFactory(
253 RendererMainThreadFactoryFunction create); 252 RendererMainThreadFactoryFunction create);
254 253
255 RenderFrameMessageFilter* render_frame_message_filter_for_testing() const { 254 RenderFrameMessageFilter* render_frame_message_filter_for_testing() const {
256 return render_frame_message_filter_.get(); 255 return render_frame_message_filter_.get();
257 } 256 }
258 257
259 MessagePortMessageFilter* message_port_message_filter() const {
260 return message_port_message_filter_.get();
261 }
262
263 NotificationMessageFilter* notification_message_filter() const { 258 NotificationMessageFilter* notification_message_filter() const {
264 return notification_message_filter_.get(); 259 return notification_message_filter_.get();
265 } 260 }
266 261
267 #if defined(OS_ANDROID) 262 #if defined(OS_ANDROID)
268 SynchronousCompositorBrowserFilter* synchronous_compositor_filter() const { 263 SynchronousCompositorBrowserFilter* synchronous_compositor_filter() const {
269 return synchronous_compositor_filter_.get(); 264 return synchronous_compositor_filter_.get();
270 } 265 }
271 #endif 266 #endif
272 267
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 // Whether this process currently has backgrounded priority. Tracked so that 456 // Whether this process currently has backgrounded priority. Tracked so that
462 // UpdateProcessPriority() can avoid redundantly setting the priority. 457 // UpdateProcessPriority() can avoid redundantly setting the priority.
463 bool is_process_backgrounded_; 458 bool is_process_backgrounded_;
464 459
465 // Used to allow a RenderWidgetHost to intercept various messages on the 460 // Used to allow a RenderWidgetHost to intercept various messages on the
466 // IO thread. 461 // IO thread.
467 scoped_refptr<RenderWidgetHelper> widget_helper_; 462 scoped_refptr<RenderWidgetHelper> widget_helper_;
468 463
469 scoped_refptr<RenderFrameMessageFilter> render_frame_message_filter_; 464 scoped_refptr<RenderFrameMessageFilter> render_frame_message_filter_;
470 465
471 // The filter for MessagePort messages coming from the renderer.
472 scoped_refptr<MessagePortMessageFilter> message_port_message_filter_;
473
474 // The filter for Web Notification messages coming from the renderer. Holds a 466 // The filter for Web Notification messages coming from the renderer. Holds a
475 // closure per notification that must be freed when the notification closes. 467 // closure per notification that must be freed when the notification closes.
476 scoped_refptr<NotificationMessageFilter> notification_message_filter_; 468 scoped_refptr<NotificationMessageFilter> notification_message_filter_;
477 469
478 #if defined(OS_ANDROID) 470 #if defined(OS_ANDROID)
479 scoped_refptr<SynchronousCompositorBrowserFilter> 471 scoped_refptr<SynchronousCompositorBrowserFilter>
480 synchronous_compositor_filter_; 472 synchronous_compositor_filter_;
481 #endif 473 #endif
482 474
483 // Used in single-process mode. 475 // Used in single-process mode.
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 instance_weak_factory_; 596 instance_weak_factory_;
605 597
606 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 598 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
607 599
608 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 600 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
609 }; 601 };
610 602
611 } // namespace content 603 } // namespace content
612 604
613 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 605 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698