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

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

Issue 1407933010: media: Make MediaKeys ref-counted. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 5 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 <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; 152 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override;
153 void NotifyTimezoneChange(const std::string& timezone) override; 153 void NotifyTimezoneChange(const std::string& timezone) override;
154 ServiceRegistry* GetServiceRegistry() override; 154 ServiceRegistry* GetServiceRegistry() override;
155 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override; 155 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override;
156 bool SubscribeUniformEnabled() const override; 156 bool SubscribeUniformEnabled() const override;
157 void OnAddSubscription(unsigned int target) override; 157 void OnAddSubscription(unsigned int target) override;
158 void OnRemoveSubscription(unsigned int target) override; 158 void OnRemoveSubscription(unsigned int target) override;
159 void SendUpdateValueState( 159 void SendUpdateValueState(
160 unsigned int target, const gpu::ValueState& state) override; 160 unsigned int target, const gpu::ValueState& state) override;
161 #if defined(ENABLE_BROWSER_CDMS) 161 #if defined(ENABLE_BROWSER_CDMS)
162 media::BrowserCdm* GetBrowserCdm(int render_frame_id, 162 scoped_refptr<media::MediaKeys> GetCdm(int render_frame_id,
163 int cdm_id) const override; 163 int cdm_id) const override;
164 #endif 164 #endif
165 165
166 // IPC::Sender via RenderProcessHost. 166 // IPC::Sender via RenderProcessHost.
167 bool Send(IPC::Message* msg) override; 167 bool Send(IPC::Message* msg) override;
168 168
169 // IPC::Listener via RenderProcessHost. 169 // IPC::Listener via RenderProcessHost.
170 bool OnMessageReceived(const IPC::Message& msg) override; 170 bool OnMessageReceived(const IPC::Message& msg) override;
171 void OnChannelConnected(int32 peer_pid) override; 171 void OnChannelConnected(int32 peer_pid) override;
172 void OnChannelError() override; 172 void OnChannelError() override;
173 void OnBadMessageReceived(const IPC::Message& message) override; 173 void OnBadMessageReceived(const IPC::Message& message) override;
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 #endif 511 #endif
512 512
513 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 513 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
514 514
515 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 515 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
516 }; 516 };
517 517
518 } // namespace content 518 } // namespace content
519 519
520 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 520 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/media/media_web_contents_observer.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