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

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

Issue 2545523007: Revert of discardable_memory: Using mojo IPC to replace Chrome IPC (Closed)
Patch Set: Created 4 years 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/browser/browser_main_loop.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7cd0bc6dc562881b97f3997c127f6b6bb72a6a56..137e7f9cf63ffd7dab27837da66fd821c0d6ba15 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -20,6 +20,7 @@
#include "base/strings/string16.h"
#include "build/build_config.h"
#include "cc/resources/shared_bitmap_manager.h"
+#include "components/discardable_memory/service/discardable_shared_memory_manager.h"
#include "content/common/cache_storage/cache_storage_types.h"
#include "content/common/host_shared_bitmap_manager.h"
#include "content/common/render_message_filter.mojom.h"
@@ -159,6 +160,20 @@
const cc::SharedBitmapId& id);
void OnDeletedSharedBitmap(const cc::SharedBitmapId& id);
void OnResolveProxy(const GURL& url, IPC::Message* reply_msg);
+
+ // Browser side discardable shared memory allocation.
+ void AllocateLockedDiscardableSharedMemoryOnFileThread(
+ uint32_t size,
+ discardable_memory::DiscardableSharedMemoryId id,
+ IPC::Message* reply_message);
+ void OnAllocateLockedDiscardableSharedMemory(
+ uint32_t size,
+ discardable_memory::DiscardableSharedMemoryId id,
+ IPC::Message* reply_message);
+ void DeletedDiscardableSharedMemoryOnFileThread(
+ discardable_memory::DiscardableSharedMemoryId id);
+ void OnDeletedDiscardableSharedMemory(
+ discardable_memory::DiscardableSharedMemoryId id);
#if defined(OS_LINUX)
void SetThreadPriorityOnFileThread(base::PlatformThreadId ns_tid,
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698