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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |