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

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

Issue 847883002: Reland "Throttle resource message requests during user interaction" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pull out ThreadChecker fix Created 5 years, 10 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/content_tests.gypi ('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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 class MemoryObserver; 94 class MemoryObserver;
95 class PeerConnectionDependencyFactory; 95 class PeerConnectionDependencyFactory;
96 class MidiMessageFilter; 96 class MidiMessageFilter;
97 class NetInfoDispatcher; 97 class NetInfoDispatcher;
98 class P2PSocketDispatcher; 98 class P2PSocketDispatcher;
99 class PeerConnectionTracker; 99 class PeerConnectionTracker;
100 class RenderProcessObserver; 100 class RenderProcessObserver;
101 class RendererBlinkPlatformImpl; 101 class RendererBlinkPlatformImpl;
102 class RendererDemuxerAndroid; 102 class RendererDemuxerAndroid;
103 class RendererScheduler; 103 class RendererScheduler;
104 class ResourceDispatchThrottler;
104 class ResourceSchedulingFilter; 105 class ResourceSchedulingFilter;
105 class V8SamplingProfiler; 106 class V8SamplingProfiler;
106 class VideoCaptureImplManager; 107 class VideoCaptureImplManager;
107 class WebGraphicsContext3DCommandBufferImpl; 108 class WebGraphicsContext3DCommandBufferImpl;
108 class WebRTCIdentityService; 109 class WebRTCIdentityService;
109 110
110 #if defined(COMPILER_MSVC) 111 #if defined(COMPILER_MSVC)
111 // See explanation for other RenderViewHostImpl which is the same issue. 112 // See explanation for other RenderViewHostImpl which is the same issue.
112 #pragma warning(push) 113 #pragma warning(push)
113 #pragma warning(disable: 4250) 114 #pragma warning(disable: 4250)
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 const WorkerProcessMsg_CreateWorker_Params& params); 470 const WorkerProcessMsg_CreateWorker_Params& params);
470 471
471 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d(); 472 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateOffscreenContext3d();
472 473
473 // These objects live solely on the render thread. 474 // These objects live solely on the render thread.
474 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; 475 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_;
475 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_; 476 scoped_ptr<DomStorageDispatcher> dom_storage_dispatcher_;
476 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_; 477 scoped_ptr<IndexedDBDispatcher> main_thread_indexed_db_dispatcher_;
477 scoped_ptr<RendererScheduler> renderer_scheduler_; 478 scoped_ptr<RendererScheduler> renderer_scheduler_;
478 scoped_ptr<RendererBlinkPlatformImpl> blink_platform_impl_; 479 scoped_ptr<RendererBlinkPlatformImpl> blink_platform_impl_;
480 scoped_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_;
479 scoped_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_; 481 scoped_ptr<EmbeddedWorkerDispatcher> embedded_worker_dispatcher_;
480 482
481 // Used on the render thread and deleted by WebKit at shutdown. 483 // Used on the render thread and deleted by WebKit at shutdown.
482 blink::WebMediaStreamCenter* media_stream_center_; 484 blink::WebMediaStreamCenter* media_stream_center_;
483 485
484 // Used on the renderer and IPC threads. 486 // Used on the renderer and IPC threads.
485 scoped_refptr<DBMessageFilter> db_message_filter_; 487 scoped_refptr<DBMessageFilter> db_message_filter_;
486 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_; 488 scoped_refptr<AudioInputMessageFilter> audio_input_message_filter_;
487 scoped_refptr<AudioMessageFilter> audio_message_filter_; 489 scoped_refptr<AudioMessageFilter> audio_message_filter_;
488 scoped_refptr<MidiMessageFilter> midi_message_filter_; 490 scoped_refptr<MidiMessageFilter> midi_message_filter_;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 628 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
627 }; 629 };
628 630
629 #if defined(COMPILER_MSVC) 631 #if defined(COMPILER_MSVC)
630 #pragma warning(pop) 632 #pragma warning(pop)
631 #endif 633 #endif
632 634
633 } // namespace content 635 } // namespace content
634 636
635 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 637 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698