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

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

Issue 1225083002: media: Add BrowserCdmManagerProcessWatcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 241
242 static void RegisterRendererMainThreadFactory( 242 static void RegisterRendererMainThreadFactory(
243 RendererMainThreadFactoryFunction create); 243 RendererMainThreadFactoryFunction create);
244 244
245 #if defined(OS_ANDROID) 245 #if defined(OS_ANDROID)
246 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() { 246 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() {
247 return browser_demuxer_android_; 247 return browser_demuxer_android_;
248 } 248 }
249 #endif 249 #endif
250 250
251 #if defined(ENABLE_BROWSER_CDMS)
252 const scoped_refptr<BrowserCdmManager>& browser_cdm_manager() {
253 return browser_cdm_manager_;
254 }
255 #endif
256
257 MessagePortMessageFilter* message_port_message_filter() const { 251 MessagePortMessageFilter* message_port_message_filter() const {
258 return message_port_message_filter_.get(); 252 return message_port_message_filter_.get();
259 } 253 }
260 254
261 NotificationMessageFilter* notification_message_filter() const { 255 NotificationMessageFilter* notification_message_filter() const {
262 return notification_message_filter_.get(); 256 return notification_message_filter_.get();
263 } 257 }
264 258
265 void set_is_for_guests_only_for_testing(bool is_for_guests_only) { 259 void set_is_for_guests_only_for_testing(bool is_for_guests_only) {
266 is_for_guests_only_ = is_for_guests_only; 260 is_for_guests_only_ = is_for_guests_only;
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 PowerMonitorMessageBroadcaster power_monitor_broadcaster_; 447 PowerMonitorMessageBroadcaster power_monitor_broadcaster_;
454 448
455 scoped_refptr<AudioRendererHost> audio_renderer_host_; 449 scoped_refptr<AudioRendererHost> audio_renderer_host_;
456 450
457 scoped_refptr<BluetoothDispatcherHost> bluetooth_dispatcher_host_; 451 scoped_refptr<BluetoothDispatcherHost> bluetooth_dispatcher_host_;
458 452
459 #if defined(OS_ANDROID) 453 #if defined(OS_ANDROID)
460 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_; 454 scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_;
461 #endif 455 #endif
462 456
463 #if defined(ENABLE_BROWSER_CDMS)
464 scoped_refptr<BrowserCdmManager> browser_cdm_manager_;
465 #endif
466
467 #if defined(ENABLE_WEBRTC) 457 #if defined(ENABLE_WEBRTC)
468 base::Callback<void(const std::string&)> webrtc_log_message_callback_; 458 base::Callback<void(const std::string&)> webrtc_log_message_callback_;
469 459
470 scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_; 460 scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_;
471 461
472 // Must be accessed on UI thread. 462 // Must be accessed on UI thread.
473 std::vector<int> aec_dump_consumers_; 463 std::vector<int> aec_dump_consumers_;
474 464
475 WebRtcStopRtpDumpCallback stop_rtp_dump_callback_; 465 WebRtcStopRtpDumpCallback stop_rtp_dump_callback_;
476 #endif 466 #endif
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 #endif 498 #endif
509 499
510 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 500 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
511 501
512 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 502 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
513 }; 503 };
514 504
515 } // namespace content 505 } // namespace content
516 506
517 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 507 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698