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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2932453002: PlzNavigate: Release StreamHandle. (Closed)
Patch Set: Experiment: Use a RenderFrameObserver. 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/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 2e488e07b7e55e574f6264424bae73ab4b995d0c..7c42dde23a85d6c96bde28f5eb0f5641c5a332e6 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -763,6 +763,10 @@ class CONTENT_EXPORT RenderFrameImpl
// selection handles in sync with the webpage.
void SyncSelectionIfRequired();
+ // PlzNavigate: Let the browser know the StreamHandle associated with this
+ // url can be released.
+ void StreamHandleConsumed(const GURL& stream_url);
+
protected:
explicit RenderFrameImpl(const CreateParams& params);

Powered by Google App Engine
This is Rietveld 408576698