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

Unified Diff: content/browser/frame_host/navigation_request.h

Issue 2846983002: Add more navigation tracing to RenderFrameHost and NavigationRequest. (Closed)
Patch Set: Move SetWaitingForRendererResponse implementation to .cc file. Created 3 years, 8 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/browser/frame_host/navigation_request.h
diff --git a/content/browser/frame_host/navigation_request.h b/content/browser/frame_host/navigation_request.h
index 095b77f53be296d0f25bc142816eb584d9934f7f..851fcfbbe11e7526339e35f3ef9b8b0d483c84b4 100644
--- a/content/browser/frame_host/navigation_request.h
+++ b/content/browser/frame_host/navigation_request.h
@@ -134,11 +134,6 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate {
bool may_transfer() const { return may_transfer_; }
- void SetWaitingForRendererResponse() {
- DCHECK(state_ == NOT_STARTED);
- state_ = WAITING_FOR_RENDERER_RESPONSE;
- }
-
AssociatedSiteInstanceType associated_site_instance_type() const {
return associated_site_instance_type_;
}
@@ -150,6 +145,8 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate {
return navigation_handle_.get();
}
+ void SetWaitingForRendererResponse();
+
// Creates a NavigationHandle. This should be called after any previous
// NavigationRequest for the FrameTreeNode has been destroyed.
void CreateNavigationHandle(int pending_nav_entry_id);
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_request.cc » ('j') | content/browser/frame_host/navigation_request.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698