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

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

Issue 15650016: [Not for review] Discardable memory emulation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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 | Annotate | Revision Log
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 class DevToolsAgentFilter; 76 class DevToolsAgentFilter;
77 class DomStorageDispatcher; 77 class DomStorageDispatcher;
78 class GpuChannelHost; 78 class GpuChannelHost;
79 class IndexedDBDispatcher; 79 class IndexedDBDispatcher;
80 class InputHandlerManager; 80 class InputHandlerManager;
81 class MediaStreamCenter; 81 class MediaStreamCenter;
82 class MediaStreamDependencyFactory; 82 class MediaStreamDependencyFactory;
83 class P2PSocketDispatcher; 83 class P2PSocketDispatcher;
84 class PeerConnectionTracker; 84 class PeerConnectionTracker;
85 class RendererWebKitPlatformSupportImpl; 85 class RendererWebKitPlatformSupportImpl;
86 class RenderProcessDiscardableMemoryProvider;
86 class RenderProcessObserver; 87 class RenderProcessObserver;
87 class VideoCaptureImplManager; 88 class VideoCaptureImplManager;
88 class WebDatabaseObserverImpl; 89 class WebDatabaseObserverImpl;
89 class WebGraphicsContext3DCommandBufferImpl; 90 class WebGraphicsContext3DCommandBufferImpl;
90 91
91 // The RenderThreadImpl class represents a background thread where RenderView 92 // The RenderThreadImpl class represents a background thread where RenderView
92 // instances live. The RenderThread supports an API that is used by its 93 // instances live. The RenderThread supports an API that is used by its
93 // consumer to talk indirectly to the RenderViews and supporting objects. 94 // consumer to talk indirectly to the RenderViews and supporting objects.
94 // Likewise, it provides an API for the RenderViews to talk back to the main 95 // Likewise, it provides an API for the RenderViews to talk back to the main
95 // process (i.e., their corresponding WebContentsImpl). 96 // process (i.e., their corresponding WebContentsImpl).
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 scoped_refptr<VideoCaptureImplManager> vc_manager_; 389 scoped_refptr<VideoCaptureImplManager> vc_manager_;
389 390
390 // Used on multiple script execution context threads. 391 // Used on multiple script execution context threads.
391 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; 392 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_;
392 393
393 #if defined(OS_WIN) 394 #if defined(OS_WIN)
394 // Initialize COM when using plugins outside the sandbox. 395 // Initialize COM when using plugins outside the sandbox.
395 scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_; 396 scoped_ptr<base::win::ScopedCOMInitializer> initialize_com_;
396 #endif 397 #endif
397 398
399 scoped_ptr<RenderProcessDiscardableMemoryProvider> discardable_provider_;
400
398 // The count of RenderWidgets running through this thread. 401 // The count of RenderWidgets running through this thread.
399 int widget_count_; 402 int widget_count_;
400 403
401 // The count of hidden RenderWidgets running through this thread. 404 // The count of hidden RenderWidgets running through this thread.
402 int hidden_widget_count_; 405 int hidden_widget_count_;
403 406
404 // The current value of the idle notification timer delay. 407 // The current value of the idle notification timer delay.
405 int64 idle_notification_delay_in_ms_; 408 int64 idle_notification_delay_in_ms_;
406 409
407 // The number of idle handler calls that skip sending idle notifications. 410 // The number of idle handler calls that skip sending idle notifications.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; 451 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_;
449 452
450 HistogramCustomizer histogram_customizer_; 453 HistogramCustomizer histogram_customizer_;
451 454
452 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 455 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
453 }; 456 };
454 457
455 } // namespace content 458 } // namespace content
456 459
457 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 460 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698