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

Unified Diff: content/child/child_histogram_message_filter.h

Issue 1671933002: Create and pass shared-histogram-allocator from browser to renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hsm-merge
Patch Set: cleanup on RenderProcessHostDestroyed instead of RenderProcessExited; use existing ScopedObserver c… Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/child/child_histogram_message_filter.h
diff --git a/content/child/child_histogram_message_filter.h b/content/child/child_histogram_message_filter.h
index e035e3ad7056a51e07e0c1a32964f64eb9bd4252..bd02470cd98390563b958b01c061611059407621 100644
--- a/content/child/child_histogram_message_filter.h
+++ b/content/child/child_histogram_message_filter.h
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
+#include "base/memory/shared_memory.h"
#include "ipc/message_filter.h"
namespace base {
@@ -36,6 +37,9 @@ class ChildHistogramMessageFilter : public IPC::MessageFilter {
~ChildHistogramMessageFilter() override;
// Message handlers.
+ virtual void OnSetHistogramMemory(
+ const base::SharedMemoryHandle& mem_handle,
+ int mem_size);
virtual void OnGetChildHistogramData(int sequence_number);
// Extract snapshot data and then send it off the the Browser process.

Powered by Google App Engine
This is Rietveld 408576698