| 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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 void OnRendererVisible(); | 517 void OnRendererVisible(); |
| 518 | 518 |
| 519 void ReleaseFreeMemory(); | 519 void ReleaseFreeMemory(); |
| 520 | 520 |
| 521 void OnSyncMemoryPressure( | 521 void OnSyncMemoryPressure( |
| 522 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); | 522 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); |
| 523 | 523 |
| 524 // These objects live solely on the render thread. | 524 // These objects live solely on the render thread. |
| 525 std::unique_ptr<AppCacheDispatcher> appcache_dispatcher_; | 525 std::unique_ptr<AppCacheDispatcher> appcache_dispatcher_; |
| 526 std::unique_ptr<DomStorageDispatcher> dom_storage_dispatcher_; | 526 std::unique_ptr<DomStorageDispatcher> dom_storage_dispatcher_; |
| 527 std::unique_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; | 527 // std::unique_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; |
| 528 std::unique_ptr<scheduler::RendererScheduler> renderer_scheduler_; | 528 std::unique_ptr<scheduler::RendererScheduler> renderer_scheduler_; |
| 529 std::unique_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; | 529 std::unique_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; |
| 530 std::unique_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_; | 530 std::unique_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_; |
| 531 std::unique_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_; | 531 std::unique_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_; |
| 532 std::unique_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_; | 532 std::unique_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_; |
| 533 | 533 |
| 534 // Used on the render thread and deleted by WebKit at shutdown. | 534 // Used on the render thread and deleted by WebKit at shutdown. |
| 535 blink::WebMediaStreamCenter* media_stream_center_; | 535 blink::WebMediaStreamCenter* media_stream_center_; |
| 536 | 536 |
| 537 // Used on the renderer and IPC threads. | 537 // Used on the renderer and IPC threads. |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 702 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 703 }; | 703 }; |
| 704 | 704 |
| 705 #if defined(COMPILER_MSVC) | 705 #if defined(COMPILER_MSVC) |
| 706 #pragma warning(pop) | 706 #pragma warning(pop) |
| 707 #endif | 707 #endif |
| 708 | 708 |
| 709 } // namespace content | 709 } // namespace content |
| 710 | 710 |
| 711 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 711 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |