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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2309083002: PlzNavigate: Fix history navigation for error pages. (Closed)
Patch Set: . Created 4 years, 3 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
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 2916939c89001d44b38489bcf6ddb43d2a7c1562..33d5e5f2d8fcd05c7a0239f13d4fa8a2be11c49a 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -126,6 +126,7 @@ class CompositorDependencies;
class DevToolsAgent;
class DocumentState;
class ExternalPopupMenu;
+class HistoryEntry;
class ManifestManager;
class MediaInterfaceProvider;
class MediaStreamDispatcher;
@@ -931,9 +932,11 @@ class CONTENT_EXPORT RenderFrameImpl
blink::WebFileChooserCompletion* completion);
// Loads the appropriate error page for the specified failure into the frame.
+ // |entry| is only used by PlzNavigate when navigating to a history item.
void LoadNavigationErrorPage(const blink::WebURLRequest& failed_request,
const blink::WebURLError& error,
- bool replace);
+ bool replace,
+ HistoryEntry* entry);
void HandleJavascriptExecutionResult(const base::string16& javascript,
int id,
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698