| 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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 void OnRendererVisible(); | 522 void OnRendererVisible(); |
| 523 | 523 |
| 524 void ReleaseFreeMemory(); | 524 void ReleaseFreeMemory(); |
| 525 | 525 |
| 526 void OnSyncMemoryPressure( | 526 void OnSyncMemoryPressure( |
| 527 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); | 527 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); |
| 528 | 528 |
| 529 // These objects live solely on the render thread. | 529 // These objects live solely on the render thread. |
| 530 std::unique_ptr<AppCacheDispatcher> appcache_dispatcher_; | 530 std::unique_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 531 std::unique_ptr<DomStorageDispatcher> dom_storage_dispatcher_; | 531 std::unique_ptr<DomStorageDispatcher> dom_storage_dispatcher_; |
| 532 std::unique_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | 532 // std::unique_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
| 533 std::unique_ptr<blink::scheduler::RendererScheduler> renderer_scheduler_; | 533 std::unique_ptr<blink::scheduler::RendererScheduler> renderer_scheduler_; |
| 534 std::unique_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; | 534 std::unique_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; |
| 535 std::unique_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_; | 535 std::unique_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_; |
| 536 std::unique_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_; | 536 std::unique_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_; |
| 537 std::unique_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_; | 537 std::unique_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_; |
| 538 | 538 |
| 539 // Used on the render thread and deleted by WebKit at shutdown. | 539 // Used on the render thread and deleted by WebKit at shutdown. |
| 540 blink::WebMediaStreamCenter* media_stream_center_; | 540 blink::WebMediaStreamCenter* media_stream_center_; |
| 541 | 541 |
| 542 // Used on the renderer and IPC threads. | 542 // Used on the renderer and IPC threads. |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |