| 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_RENDERER_RENDER_THREAD_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 void WidgetRestored(); | 447 void WidgetRestored(); |
| 448 | 448 |
| 449 void AddEmbeddedWorkerRoute(int32_t routing_id, IPC::Listener* listener); | 449 void AddEmbeddedWorkerRoute(int32_t routing_id, IPC::Listener* listener); |
| 450 void RemoveEmbeddedWorkerRoute(int32_t routing_id); | 450 void RemoveEmbeddedWorkerRoute(int32_t routing_id); |
| 451 | 451 |
| 452 void RegisterPendingRenderFrameConnect( | 452 void RegisterPendingRenderFrameConnect( |
| 453 int routing_id, | 453 int routing_id, |
| 454 mojo::shell::mojom::InterfaceProviderRequest services, | 454 mojo::shell::mojom::InterfaceProviderRequest services, |
| 455 mojo::shell::mojom::InterfaceProviderPtr exposed_services); | 455 mojo::shell::mojom::InterfaceProviderPtr exposed_services); |
| 456 | 456 |
| 457 StoragePartitionService* GetStoragePartitionService(); | 457 mojom::StoragePartitionService* GetStoragePartitionService(); |
| 458 | 458 |
| 459 protected: | 459 protected: |
| 460 RenderThreadImpl( | 460 RenderThreadImpl( |
| 461 const InProcessChildThreadParams& params, | 461 const InProcessChildThreadParams& params, |
| 462 scoped_ptr<scheduler::RendererScheduler> scheduler, | 462 scoped_ptr<scheduler::RendererScheduler> scheduler, |
| 463 scoped_refptr<base::SingleThreadTaskRunner>& resource_task_queue); | 463 scoped_refptr<base::SingleThreadTaskRunner>& resource_task_queue); |
| 464 RenderThreadImpl(scoped_ptr<base::MessageLoop> main_message_loop, | 464 RenderThreadImpl(scoped_ptr<base::MessageLoop> main_message_loop, |
| 465 scoped_ptr<scheduler::RendererScheduler> scheduler); | 465 scoped_ptr<scheduler::RendererScheduler> scheduler); |
| 466 | 466 |
| 467 private: | 467 private: |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 | 701 |
| 702 int routing_id_; | 702 int routing_id_; |
| 703 mojo::shell::mojom::InterfaceProviderRequest services_; | 703 mojo::shell::mojom::InterfaceProviderRequest services_; |
| 704 mojo::shell::mojom::InterfaceProviderPtr exposed_services_; | 704 mojo::shell::mojom::InterfaceProviderPtr exposed_services_; |
| 705 }; | 705 }; |
| 706 | 706 |
| 707 typedef std::map<int, scoped_refptr<PendingRenderFrameConnect>> | 707 typedef std::map<int, scoped_refptr<PendingRenderFrameConnect>> |
| 708 PendingRenderFrameConnectMap; | 708 PendingRenderFrameConnectMap; |
| 709 PendingRenderFrameConnectMap pending_render_frame_connects_; | 709 PendingRenderFrameConnectMap pending_render_frame_connects_; |
| 710 | 710 |
| 711 StoragePartitionServicePtr storage_partition_service_; | 711 mojom::StoragePartitionServicePtr storage_partition_service_; |
| 712 | 712 |
| 713 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 713 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 714 }; | 714 }; |
| 715 | 715 |
| 716 #if defined(COMPILER_MSVC) | 716 #if defined(COMPILER_MSVC) |
| 717 #pragma warning(pop) | 717 #pragma warning(pop) |
| 718 #endif | 718 #endif |
| 719 | 719 |
| 720 } // namespace content | 720 } // namespace content |
| 721 | 721 |
| 722 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 722 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |