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

Unified Diff: content/browser/renderer_host/render_message_filter.h

Issue 317973004: Allocate SharedBitmaps on FILE_USER_BLOCKING thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index 18f6a2d0d2ee47757446b58e2977b333b1571dab..95a80acbf0c5741a853559753b87241b170b8984 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -209,9 +209,12 @@ class RenderMessageFilter : public BrowserMessageFilter {
// in the renderer on POSIX due to the sandbox.
void OnAllocateSharedMemory(uint32 buffer_size,
base::SharedMemoryHandle* handle);
+ void AllocateSharedBitmapOnFileThread(uint32 buffer_size,
+ const cc::SharedBitmapId& id,
+ IPC::Message* reply_msg);
void OnAllocateSharedBitmap(uint32 buffer_size,
const cc::SharedBitmapId& id,
- base::SharedMemoryHandle* handle);
+ IPC::Message* reply_msg);
void OnAllocatedSharedBitmap(size_t buffer_size,
const base::SharedMemoryHandle& handle,
const cc::SharedBitmapId& id);

Powered by Google App Engine
This is Rietveld 408576698