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

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

Issue 2710823003: NOCOMMIT prototype: GRC service plumbing and process priority
Patch Set: Rebase Created 3 years, 7 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
« no previous file with comments | « content/public/browser/render_frame_host.h ('k') | third_party/WebKit/Source/core/frame/LocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « content/public/browser/render_frame_host.h ('k') | third_party/WebKit/Source/core/frame/LocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698