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

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

Issue 894173002: Adds hook for content embedders to get media::BrowserCdm*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes CmaMessageFilterHost callback reference, rebase Created 5 years, 10 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 #endif 142 #endif
143 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; 143 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override;
144 void NotifyTimezoneChange() override; 144 void NotifyTimezoneChange() override;
145 ServiceRegistry* GetServiceRegistry() override; 145 ServiceRegistry* GetServiceRegistry() override;
146 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override; 146 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override;
147 bool SubscribeUniformEnabled() const override; 147 bool SubscribeUniformEnabled() const override;
148 void OnAddSubscription(unsigned int target) override; 148 void OnAddSubscription(unsigned int target) override;
149 void OnRemoveSubscription(unsigned int target) override; 149 void OnRemoveSubscription(unsigned int target) override;
150 void SendUpdateValueState( 150 void SendUpdateValueState(
151 unsigned int target, const gpu::ValueState& state) override; 151 unsigned int target, const gpu::ValueState& state) override;
152 #if defined(ENABLE_BROWSER_CDMS)
153 media::BrowserCdm* GetBrowserCdm(int render_frame_id,
154 int cdm_id) const override;
155 #endif
152 156
153 // IPC::Sender via RenderProcessHost. 157 // IPC::Sender via RenderProcessHost.
154 bool Send(IPC::Message* msg) override; 158 bool Send(IPC::Message* msg) override;
155 159
156 // IPC::Listener via RenderProcessHost. 160 // IPC::Listener via RenderProcessHost.
157 bool OnMessageReceived(const IPC::Message& msg) override; 161 bool OnMessageReceived(const IPC::Message& msg) override;
158 void OnChannelConnected(int32 peer_pid) override; 162 void OnChannelConnected(int32 peer_pid) override;
159 void OnChannelError() override; 163 void OnChannelError() override;
160 void OnBadMessageReceived(const IPC::Message& message) override; 164 void OnBadMessageReceived(const IPC::Message& message) override;
161 165
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 bool subscribe_uniform_enabled_; 505 bool subscribe_uniform_enabled_;
502 506
503 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 507 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
504 508
505 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 509 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
506 }; 510 };
507 511
508 } // namespace content 512 } // namespace content
509 513
510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 514 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/media/cdm/browser_cdm_manager.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