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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2768813002: PlzNavigate: don't stop all loaders when renderer-initiated nav fails
Patch Set: Created 3 years, 9 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 5bc63af1ac4b2f99f7f8cd1413ff2ec817fa64d6..003532a7d15d722667a8a003e1fc520f715ab3cc 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -905,6 +905,7 @@ class CONTENT_EXPORT RenderFrameImpl
int error_code);
void OnReportContentSecurityPolicyViolation(
const content::CSPViolationParams& violation_params);
+ void OnDroppedNavigation(int navigation_id);
void OnGetSavableResourceLinks();
void OnGetSerializedHtmlWithLocalLinks(
const std::map<GURL, base::FilePath>& url_to_local_path,
@@ -1424,6 +1425,10 @@ class CONTENT_EXPORT RenderFrameImpl
// is used and released in didStartProvisionalLoad().
std::unique_ptr<PendingNavigationInfo> pending_navigation_info_;
+ // PlzNavigate
+ // An id to identify the last navigation sent to the browser.
+ int navigation_id_ = 0;
+
base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);

Powered by Google App Engine
This is Rietveld 408576698