Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index f580046a189aa3897be902760153af9e2e7514da..fc88bd23344b2896cfa52490c36b8109d246b4c8 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -924,6 +924,9 @@ class CONTENT_EXPORT WebContentsImpl |
// called once as this call also removes it from the internal map. |
WebContentsImpl* GetCreatedWindow(int route_id); |
+ // Tracks that this WebContents needs to unblock requests to the renderer. |
+ void SetIsResumePending() { is_resume_pending_ = true; } |
+ |
// Tracking loading progress ------------------------------------------------- |
// Resets the tracking state of the current load progress. |
@@ -1092,6 +1095,10 @@ class CONTENT_EXPORT WebContentsImpl |
uint64 upload_size_; |
uint64 upload_position_; |
+ // Whether this WebContents needs to resume loading after its creation. |
+ // See ResumeLoadingCreatedWebContents. |
+ bool is_resume_pending_; |
+ |
// Data for current page ----------------------------------------------------- |
// When a title cannot be taken from any entry, this title will be used. |