| Index: content/browser/browser_child_process_host_impl.h
|
| diff --git a/content/browser/browser_child_process_host_impl.h b/content/browser/browser_child_process_host_impl.h
|
| index 08e1b360a1147dec8c9124e9800333585eb3f978..dda38843a820f17475faf3515d8dc6a2259e0501 100644
|
| --- a/content/browser/browser_child_process_host_impl.h
|
| +++ b/content/browser/browser_child_process_host_impl.h
|
| @@ -16,6 +16,7 @@
|
| #include "content/public/browser/browser_child_process_host.h"
|
| #include "content/public/browser/child_process_data.h"
|
| #include "content/public/common/child_process_host_delegate.h"
|
| +#include "content/public/common/resource_usage_reporter.mojom.h"
|
|
|
| #if defined(OS_WIN)
|
| #include "base/win/object_watcher.h"
|
| @@ -80,6 +81,10 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl
|
| // Adds an IPC message filter.
|
| void AddFilter(BrowserMessageFilter* filter);
|
|
|
| + // Sets the Mojo service used to get resource usage data (i.e. JS memory)
|
| + // from the process.
|
| + void SetResourceUsageReporter(ResourceUsageReporterPtr service);
|
| +
|
| // Called when an instance of a particular child is created in a page.
|
| static void NotifyProcessInstanceCreated(const ChildProcessData& data);
|
|
|
|
|