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

Unified Diff: content/child/child_thread.h

Issue 148243013: Add shared bitmap managers for browser and renderer processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/child_shared_bitmap_manager.cc ('k') | content/child/child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_thread.h
diff --git a/content/child/child_thread.h b/content/child/child_thread.h
index 89156baadccba8ad9015047f605f00ecb59d62d7..e552ef91a7b0af9ebb6a299d9d75537b1a5a0dfa 100644
--- a/content/child/child_thread.h
+++ b/content/child/child_thread.h
@@ -38,6 +38,7 @@ class WebFrame;
namespace content {
class ChildHistogramMessageFilter;
class ChildResourceMessageFilter;
+class ChildSharedBitmapManager;
class FileSystemDispatcher;
class ServiceWorkerDispatcher;
class ServiceWorkerMessageFilter;
@@ -88,6 +89,10 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
static base::SharedMemory* AllocateSharedMemory(size_t buf_size,
IPC::Sender* sender);
+ ChildSharedBitmapManager* shared_bitmap_manager() const {
+ return shared_bitmap_manager_.get();
+ }
+
ResourceDispatcher* resource_dispatcher() const {
return resource_dispatcher_.get();
}
@@ -219,6 +224,8 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
scoped_refptr<QuotaMessageFilter> quota_message_filter_;
+ scoped_ptr<ChildSharedBitmapManager> shared_bitmap_manager_;
+
base::WeakPtrFactory<ChildThread> channel_connected_factory_;
// Observes the trace event system. When tracing is enabled, optionally
« no previous file with comments | « content/child/child_shared_bitmap_manager.cc ('k') | content/child/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698