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

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

Issue 2447613004: Mojoify PoweMonitorMessageBroadcaster IPC from browser to child process (Closed)
Patch Set: Mojoify PoweMonitorMessageBroadcaster IPC from browser to child process Created 4 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 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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 bool gpu_observer_registered_; 512 bool gpu_observer_registered_;
513 513
514 // Set if a call to Cleanup is required once the RenderProcessHostImpl is no 514 // Set if a call to Cleanup is required once the RenderProcessHostImpl is no
515 // longer within the RenderProcessHostObserver::RenderProcessExited callbacks. 515 // longer within the RenderProcessHostObserver::RenderProcessExited callbacks.
516 bool delayed_cleanup_needed_; 516 bool delayed_cleanup_needed_;
517 517
518 // Indicates whether RenderProcessHostImpl is currently iterating and calling 518 // Indicates whether RenderProcessHostImpl is currently iterating and calling
519 // through RenderProcessHostObserver::RenderProcessExited. 519 // through RenderProcessHostObserver::RenderProcessExited.
520 bool within_process_died_observer_; 520 bool within_process_died_observer_;
521 521
522 // Forwards power state messages to the renderer process.
523 PowerMonitorMessageBroadcaster power_monitor_broadcaster_;
524
525 scoped_refptr<AudioRendererHost> audio_renderer_host_; 522 scoped_refptr<AudioRendererHost> audio_renderer_host_;
526 523
527 scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_; 524 scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_;
528 525
529 #if defined(ENABLE_WEBRTC) 526 #if defined(ENABLE_WEBRTC)
530 scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_; 527 scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_;
531 528
532 // Must be accessed on UI thread. 529 // Must be accessed on UI thread.
533 std::vector<int> aec_dump_consumers_; 530 std::vector<int> aec_dump_consumers_;
534 531
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 instance_weak_factory_; 583 instance_weak_factory_;
587 584
588 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 585 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
589 586
590 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 587 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
591 }; 588 };
592 589
593 } // namespace content 590 } // namespace content
594 591
595 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 592 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698