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

Unified Diff: content/public/browser/render_process_host.h

Issue 2921663003: GRC: Hook up process-level CoordinationUnits in the browser process (Closed)
Patch Set: Buildfix Created 3 years, 6 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/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..c8883070f4279c52c84cb3d5d926dc0ac27ff0a4 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -33,6 +33,10 @@ namespace service_manager {
class Identity;
}
+namespace resource_coordinator {
+class ResourceCoordinatorInterface;
+}
+
namespace content {
class BrowserContext;
class BrowserMessageFilter;
@@ -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 Global 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;
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698