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

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

Issue 2913253002: GRC: Hook up the frame-level CoordinationUnit (Closed)
Patch Set: Review fixes and rebase 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_frame_host.h
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h
index e4dfc1fd077ef7fffa74896c2fdff720d7a7e879..4d0f3fe8efa8c37d4369e4b743075004a4c6e885 100644
--- a/content/public/browser/render_frame_host.h
+++ b/content/public/browser/render_frame_host.h
@@ -29,6 +29,10 @@ namespace base {
class Value;
}
+namespace resource_coordinator {
+class ResourceCoordinatorInterface;
+}
+
namespace service_manager {
class BinderRegistry;
class InterfaceProvider;
@@ -85,6 +89,11 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
// process.
virtual SiteInstance* GetSiteInstance() = 0;
+ // Returns the interface for the Global Resource Coordinator
+ // for this frame.
+ virtual resource_coordinator::ResourceCoordinatorInterface*
+ GetFrameResourceCoordinator() = 0;
+
// Returns the process for this frame.
virtual RenderProcessHost* GetProcess() = 0;

Powered by Google App Engine
This is Rietveld 408576698