| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; | 151 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; |
| 152 void NotifyTimezoneChange(const std::string& timezone) override; | 152 void NotifyTimezoneChange(const std::string& timezone) override; |
| 153 ServiceRegistry* GetServiceRegistry() override; | 153 ServiceRegistry* GetServiceRegistry() override; |
| 154 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override; | 154 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override; |
| 155 bool SubscribeUniformEnabled() const override; | 155 bool SubscribeUniformEnabled() const override; |
| 156 void OnAddSubscription(unsigned int target) override; | 156 void OnAddSubscription(unsigned int target) override; |
| 157 void OnRemoveSubscription(unsigned int target) override; | 157 void OnRemoveSubscription(unsigned int target) override; |
| 158 void SendUpdateValueState( | 158 void SendUpdateValueState( |
| 159 unsigned int target, const gpu::ValueState& state) override; | 159 unsigned int target, const gpu::ValueState& state) override; |
| 160 #if defined(ENABLE_BROWSER_CDMS) | 160 #if defined(ENABLE_BROWSER_CDMS) |
| 161 media::BrowserCdm* GetBrowserCdm(int render_frame_id, | 161 scoped_refptr<media::MediaKeys> GetCdm(int render_frame_id, |
| 162 int cdm_id) const override; | 162 int cdm_id) const override; |
| 163 #endif | 163 #endif |
| 164 | 164 |
| 165 // IPC::Sender via RenderProcessHost. | 165 // IPC::Sender via RenderProcessHost. |
| 166 bool Send(IPC::Message* msg) override; | 166 bool Send(IPC::Message* msg) override; |
| 167 | 167 |
| 168 // IPC::Listener via RenderProcessHost. | 168 // IPC::Listener via RenderProcessHost. |
| 169 bool OnMessageReceived(const IPC::Message& msg) override; | 169 bool OnMessageReceived(const IPC::Message& msg) override; |
| 170 void OnChannelConnected(int32 peer_pid) override; | 170 void OnChannelConnected(int32 peer_pid) override; |
| 171 void OnChannelError() override; | 171 void OnChannelError() override; |
| 172 void OnBadMessageReceived(const IPC::Message& message) override; | 172 void OnBadMessageReceived(const IPC::Message& message) override; |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 bool sent_render_process_ready_; | 501 bool sent_render_process_ready_; |
| 502 | 502 |
| 503 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 503 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 504 | 504 |
| 505 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 505 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 506 }; | 506 }; |
| 507 | 507 |
| 508 } // namespace content | 508 } // namespace content |
| 509 | 509 |
| 510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |