Index: content/public/browser/render_process_host.h |
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h |
index 97595f18ea206f1836685b20686f878185384eeb..a16b9ddcc9d2f04d64b86a489d14759338d33b8d 100644 |
--- a/content/public/browser/render_process_host.h |
+++ b/content/public/browser/render_process_host.h |
@@ -29,6 +29,10 @@ class SharedPersistentMemoryAllocator; |
class TimeDelta; |
} |
+namespace resource_coordinator { |
+class ResourceCoordinatorInterface; |
+} |
+ |
namespace service_manager { |
class Identity; |
} |
@@ -347,6 +351,10 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender, |
// MockRenderProcessHost usage in tests. |
virtual mojom::Renderer* GetRendererInterface() = 0; |
+ // Acquires the interface to the Resource Coordinator for this process. |
+ virtual resource_coordinator::ResourceCoordinatorInterface* |
+ GetProcessResourceCoordinator() = 0; |
+ |
// Whether this process is locked out from ever being reused for sites other |
// than the ones it currently has. |
virtual void SetIsNeverSuitableForReuse() = 0; |