Index: content/browser/frame_host/render_frame_host_impl.h |
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h |
index af85a4e8b055b9c5d3529cbe8b4e2a1808adf52a..c99c9e85c41ef5953554bfdb5377f88eaecc4608 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -49,6 +49,7 @@ |
#include "mojo/public/cpp/bindings/binding_set.h" |
#include "mojo/public/cpp/system/data_pipe.h" |
#include "net/http/http_response_headers.h" |
+#include "services/resource_coordinator/public/cpp/resource_coordinator_interface.h" |
#include "third_party/WebKit/public/platform/WebFocusType.h" |
#include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" |
#include "third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom.h" |
@@ -575,6 +576,9 @@ class CONTENT_EXPORT RenderFrameHostImpl |
// Returns the Mojo ImageDownloader service. |
const content::mojom::ImageDownloaderPtr& GetMojoImageDownloader(); |
+ resource_coordinator::ResourceCoordinatorInterface* |
+ GetFrameResourceCoordinator() override; |
+ |
// Resets the loading state. Following this call, the RenderFrameHost will be |
// in a non-loading state. |
void ResetLoadingState(); |
@@ -1136,6 +1140,8 @@ class CONTENT_EXPORT RenderFrameHostImpl |
// Holder of Mojo connection with ImageDownloader service in RenderFrame. |
content::mojom::ImageDownloaderPtr mojo_image_downloader_; |
+ std::unique_ptr<resource_coordinator::ResourceCoordinatorInterface> |
+ frame_resource_coordinator_; |
// Tracks a navigation happening in this frame. Note that while there can be |
// two navigations in the same FrameTreeNode, there can only be one |