Index: content/public/browser/browser_child_process_host.h |
diff --git a/content/public/browser/browser_child_process_host.h b/content/public/browser/browser_child_process_host.h |
index 1ef3e48752e421ad3922b630cd37b1386e614ca4..e0f2d49e881a78627b62fb6215d6f8768d944da3 100644 |
--- a/content/public/browser/browser_child_process_host.h |
+++ b/content/public/browser/browser_child_process_host.h |
@@ -21,6 +21,7 @@ |
namespace base { |
class CommandLine; |
class FilePath; |
+class SharedPersistentMemoryAllocator; |
} |
namespace shell { |
@@ -82,6 +83,10 @@ class CONTENT_EXPORT BrowserChildProcessHost : public IPC::Sender { |
virtual base::TerminationStatus GetTerminationStatus( |
bool known_dead, int* exit_code) = 0; |
+ // Take ownership of a "shared" metrics allocator (if one exists). |
+ virtual std::unique_ptr<base::SharedPersistentMemoryAllocator> |
+ TakeMetricsAllocator() = 0; |
+ |
// Sets the user-visible name of the process. |
virtual void SetName(const base::string16& name) = 0; |