Index: content/browser/frame_host/render_frame_host_manager.h |
diff --git a/content/browser/frame_host/render_frame_host_manager.h b/content/browser/frame_host/render_frame_host_manager.h |
index d71845e3c10137c61963482c4cbfe83a6b7b0330..eff58f23ca8fd81a32795aa32d9a07ee79deb15d 100644 |
--- a/content/browser/frame_host/render_frame_host_manager.h |
+++ b/content/browser/frame_host/render_frame_host_manager.h |
@@ -218,6 +218,19 @@ class CONTENT_EXPORT RenderFrameHostManager : public NotificationObserver { |
PageTransition page_transition, |
bool should_replace_current_entry); |
+ // Recieved a response from cross site resource handler. If the navigation |
+ // is not a navigation transition, this is not called. If this is called, |
nasko
2014/06/02 21:59:33
nit: "does not require navigation transition". The
shatch
2014/06/02 23:40:40
Reworded it a bit, ptal.
|
+ // the navigation will not resume until ResumeResponseDeferredAtStart. |
+ void OnDeferredAfterResponseStarted( |
+ const GlobalRequestID& global_request_id, |
+ RenderFrameHostImpl* pending_render_frame_host); |
+ |
+ // Resume navigation paused after receiving response headers. |
+ void ResumeResponseDeferredAtStart(); |
+ |
+ // Sets whether or not the navigation should pause on first response. |
+ void SetHasPendingTransitionRequest(bool has_pending_transition); |
+ |
// The RenderFrameHost has been swapped out, so we should resume the pending |
// network response and allow the pending RenderFrameHost to commit. |
void SwappedOut(RenderFrameHostImpl* render_frame_host); |
@@ -449,6 +462,10 @@ class CONTENT_EXPORT RenderFrameHostManager : public NotificationObserver { |
// Tracks information about any current pending cross-process navigation. |
scoped_ptr<PendingNavigationParams> pending_nav_params_; |
+ // Tracks information about any navigation paused after receiving response |
+ // headers. |
+ scoped_ptr<GlobalRequestID> response_started_id_; |
+ |
// If either of these is non-NULL, the pending navigation is to a chrome: |
// page. The scoped_ptr is used if pending_web_ui_ != web_ui_, the WeakPtr is |
// used for when they reference the same object. If either is non-NULL, the |