Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2149413002: Re-reland: Add MemoryCoordinator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Always pass MemoryCoordinatorHandlePtr Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/DEPS ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 namespace IPC { 73 namespace IPC {
74 class MessageFilter; 74 class MessageFilter;
75 } 75 }
76 76
77 namespace media { 77 namespace media {
78 class AudioHardwareConfig; 78 class AudioHardwareConfig;
79 class GpuVideoAcceleratorFactories; 79 class GpuVideoAcceleratorFactories;
80 } 80 }
81 81
82 namespace memory_coordinator {
83 class ChildMemoryCoordinatorImpl;
84 }
85
82 namespace scheduler { 86 namespace scheduler {
83 class WebThreadBase; 87 class WebThreadBase;
84 } 88 }
85 89
86 namespace v8 { 90 namespace v8 {
87 class Extension; 91 class Extension;
88 } 92 }
89 93
90 namespace content { 94 namespace content {
91 95
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 639
636 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; 640 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_;
637 641
638 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; 642 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
639 643
640 HistogramCustomizer histogram_customizer_; 644 HistogramCustomizer histogram_customizer_;
641 645
642 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 646 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
643 647
644 std::unique_ptr<MemoryObserver> memory_observer_; 648 std::unique_ptr<MemoryObserver> memory_observer_;
649 std::unique_ptr<memory_coordinator::ChildMemoryCoordinatorImpl>
650 memory_coordinator_;
645 651
646 scoped_refptr<base::SingleThreadTaskRunner> 652 scoped_refptr<base::SingleThreadTaskRunner>
647 main_thread_compositor_task_runner_; 653 main_thread_compositor_task_runner_;
648 654
649 // Compositor settings. 655 // Compositor settings.
650 bool is_gpu_rasterization_enabled_; 656 bool is_gpu_rasterization_enabled_;
651 bool is_gpu_rasterization_forced_; 657 bool is_gpu_rasterization_forced_;
652 bool is_async_worker_context_enabled_; 658 bool is_async_worker_context_enabled_;
653 int gpu_rasterization_msaa_sample_count_; 659 int gpu_rasterization_msaa_sample_count_;
654 bool is_lcd_text_enabled_; 660 bool is_lcd_text_enabled_;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 704 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
699 }; 705 };
700 706
701 #if defined(COMPILER_MSVC) 707 #if defined(COMPILER_MSVC)
702 #pragma warning(pop) 708 #pragma warning(pop)
703 #endif 709 #endif
704 710
705 } // namespace content 711 } // namespace content
706 712
707 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 713 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/DEPS ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698