OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |