| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 void SetWebRtcLogMessageCallback( | 149 void SetWebRtcLogMessageCallback( |
| 150 base::Callback<void(const std::string&)> callback) override; | 150 base::Callback<void(const std::string&)> callback) override; |
| 151 WebRtcStopRtpDumpCallback StartRtpDump( | 151 WebRtcStopRtpDumpCallback StartRtpDump( |
| 152 bool incoming, | 152 bool incoming, |
| 153 bool outgoing, | 153 bool outgoing, |
| 154 const WebRtcRtpPacketCallback& packet_callback) override; | 154 const WebRtcRtpPacketCallback& packet_callback) override; |
| 155 #endif | 155 #endif |
| 156 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; | 156 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; |
| 157 void NotifyTimezoneChange(const std::string& timezone) override; | 157 void NotifyTimezoneChange(const std::string& timezone) override; |
| 158 ServiceRegistry* GetServiceRegistry() override; | 158 ServiceRegistry* GetServiceRegistry() override; |
| 159 scoped_ptr<base::SharedPersistentMemoryAllocator> GetMetricsAllocator() |
| 160 override; |
| 159 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override; | 161 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override; |
| 160 bool SubscribeUniformEnabled() const override; | 162 bool SubscribeUniformEnabled() const override; |
| 161 void OnAddSubscription(unsigned int target) override; | 163 void OnAddSubscription(unsigned int target) override; |
| 162 void OnRemoveSubscription(unsigned int target) override; | 164 void OnRemoveSubscription(unsigned int target) override; |
| 163 void SendUpdateValueState( | 165 void SendUpdateValueState( |
| 164 unsigned int target, const gpu::ValueState& state) override; | 166 unsigned int target, const gpu::ValueState& state) override; |
| 165 #if defined(ENABLE_BROWSER_CDMS) | 167 #if defined(ENABLE_BROWSER_CDMS) |
| 166 scoped_refptr<media::MediaKeys> GetCdm(int render_frame_id, | 168 scoped_refptr<media::MediaKeys> GetCdm(int render_frame_id, |
| 167 int cdm_id) const override; | 169 int cdm_id) const override; |
| 168 #endif | 170 #endif |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 SubscriptionSet subscription_set_; | 500 SubscriptionSet subscription_set_; |
| 499 | 501 |
| 500 // Maintains ValueStates which are not currently subscribed too so we can | 502 // Maintains ValueStates which are not currently subscribed too so we can |
| 501 // pass them to the GpuService if a Valuebuffer ever subscribes to the | 503 // pass them to the GpuService if a Valuebuffer ever subscribes to the |
| 502 // respective subscription target | 504 // respective subscription target |
| 503 scoped_refptr<gpu::ValueStateMap> pending_valuebuffer_state_; | 505 scoped_refptr<gpu::ValueStateMap> pending_valuebuffer_state_; |
| 504 | 506 |
| 505 // Whether or not the CHROMIUM_subscribe_uniform WebGL extension is enabled | 507 // Whether or not the CHROMIUM_subscribe_uniform WebGL extension is enabled |
| 506 bool subscribe_uniform_enabled_; | 508 bool subscribe_uniform_enabled_; |
| 507 | 509 |
| 510 scoped_ptr<base::SharedPersistentMemoryAllocator> metrics_allocator_; |
| 511 |
| 508 bool channel_connected_; | 512 bool channel_connected_; |
| 509 bool sent_render_process_ready_; | 513 bool sent_render_process_ready_; |
| 510 | 514 |
| 511 #if defined(OS_ANDROID) | 515 #if defined(OS_ANDROID) |
| 512 // UI thread is the source of sync IPCs and all shutdown signals. | 516 // UI thread is the source of sync IPCs and all shutdown signals. |
| 513 // Therefore a proper shutdown event to unblock the UI thread is not | 517 // Therefore a proper shutdown event to unblock the UI thread is not |
| 514 // possible without massive refactoring shutdown code. | 518 // possible without massive refactoring shutdown code. |
| 515 // Luckily Android never performs a clean shutdown. So explicitly | 519 // Luckily Android never performs a clean shutdown. So explicitly |
| 516 // ignore this problem. | 520 // ignore this problem. |
| 517 base::WaitableEvent never_signaled_; | 521 base::WaitableEvent never_signaled_; |
| 518 #endif | 522 #endif |
| 519 | 523 |
| 520 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 524 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 521 | 525 |
| 522 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 526 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 523 }; | 527 }; |
| 524 | 528 |
| 525 } // namespace content | 529 } // namespace content |
| 526 | 530 |
| 527 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 531 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |