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

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

Issue 1904163002: Move Web Notifications to use Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@skbitmap-blink
Patch Set: it works \o/ Created 4 years, 7 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 namespace content { 47 namespace content {
48 class AudioInputRendererHost; 48 class AudioInputRendererHost;
49 class AudioRendererHost; 49 class AudioRendererHost;
50 class BluetoothDispatcherHost; 50 class BluetoothDispatcherHost;
51 class BrowserCdmManager; 51 class BrowserCdmManager;
52 class BrowserDemuxerAndroid; 52 class BrowserDemuxerAndroid;
53 class InProcessChildThreadParams; 53 class InProcessChildThreadParams;
54 class MessagePortMessageFilter; 54 class MessagePortMessageFilter;
55 class MojoApplicationHost; 55 class MojoApplicationHost;
56 class MojoChildConnection; 56 class MojoChildConnection;
57 class NotificationMessageFilter;
58 #if defined(ENABLE_WEBRTC) 57 #if defined(ENABLE_WEBRTC)
59 class P2PSocketDispatcherHost; 58 class P2PSocketDispatcherHost;
60 #endif 59 #endif
61 class PermissionServiceContext; 60 class PermissionServiceContext;
62 class PeerConnectionTrackerHost; 61 class PeerConnectionTrackerHost;
63 class RendererMainThread; 62 class RendererMainThread;
64 class RenderWidgetHelper; 63 class RenderWidgetHelper;
65 class RenderWidgetHost; 64 class RenderWidgetHost;
66 class RenderWidgetHostImpl; 65 class RenderWidgetHostImpl;
67 class RenderWidgetHostViewFrameSubscriber; 66 class RenderWidgetHostViewFrameSubscriber;
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 #if defined(OS_ANDROID) 241 #if defined(OS_ANDROID)
243 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() { 242 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() {
244 return browser_demuxer_android_; 243 return browser_demuxer_android_;
245 } 244 }
246 #endif 245 #endif
247 246
248 MessagePortMessageFilter* message_port_message_filter() const { 247 MessagePortMessageFilter* message_port_message_filter() const {
249 return message_port_message_filter_.get(); 248 return message_port_message_filter_.get();
250 } 249 }
251 250
252 NotificationMessageFilter* notification_message_filter() const {
253 return notification_message_filter_.get();
254 }
255
256 void set_is_for_guests_only_for_testing(bool is_for_guests_only) { 251 void set_is_for_guests_only_for_testing(bool is_for_guests_only) {
257 is_for_guests_only_ = is_for_guests_only; 252 is_for_guests_only_ = is_for_guests_only;
258 } 253 }
259 254
260 void GetAudioOutputControllers( 255 void GetAudioOutputControllers(
261 const GetAudioOutputControllersCallback& callback) const override; 256 const GetAudioOutputControllersCallback& callback) const override;
262 257
263 BluetoothDispatcherHost* GetBluetoothDispatcherHost(); 258 BluetoothDispatcherHost* GetBluetoothDispatcherHost();
264 259
265 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) 260 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 // UpdateProcessPriority() can avoid redundantly setting the priority. 372 // UpdateProcessPriority() can avoid redundantly setting the priority.
378 bool is_process_backgrounded_; 373 bool is_process_backgrounded_;
379 374
380 // Used to allow a RenderWidgetHost to intercept various messages on the 375 // Used to allow a RenderWidgetHost to intercept various messages on the
381 // IO thread. 376 // IO thread.
382 scoped_refptr<RenderWidgetHelper> widget_helper_; 377 scoped_refptr<RenderWidgetHelper> widget_helper_;
383 378
384 // The filter for MessagePort messages coming from the renderer. 379 // The filter for MessagePort messages coming from the renderer.
385 scoped_refptr<MessagePortMessageFilter> message_port_message_filter_; 380 scoped_refptr<MessagePortMessageFilter> message_port_message_filter_;
386 381
387 // The filter for Web Notification messages coming from the renderer. Holds a
388 // closure per notification that must be freed when the notification closes.
389 scoped_refptr<NotificationMessageFilter> notification_message_filter_;
390
391 // Used in single-process mode. 382 // Used in single-process mode.
392 std::unique_ptr<base::Thread> in_process_renderer_; 383 std::unique_ptr<base::Thread> in_process_renderer_;
393 384
394 // True after Init() has been called. We can't just check channel_ because we 385 // True after Init() has been called. We can't just check channel_ because we
395 // also reset that in the case of process termination. 386 // also reset that in the case of process termination.
396 bool is_initialized_; 387 bool is_initialized_;
397 388
398 // PlzNavigate 389 // PlzNavigate
399 // Stores the time at which the first call to Init happened. 390 // Stores the time at which the first call to Init happened.
400 base::TimeTicks init_time_; 391 base::TimeTicks init_time_;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; 504 mojo::ScopedMessagePipeHandle in_process_renderer_handle_;
514 505
515 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 506 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
516 507
517 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 508 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
518 }; 509 };
519 510
520 } // namespace content 511 } // namespace content
521 512
522 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 513 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/notifications/type_converters.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698