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

Unified Diff: content/common/frame_messages.h

Issue 958083002: PlzNavigate: Show error pages when the navigation failed before commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@support-data-urls
Patch Set: Fixed replace computation Created 5 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/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 8a4fb0c3d2a45029db222d5bfa051d74aeb36b09..8feb8b56d06ad1dee4196cae6b1aa95ef8a0410e 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -533,6 +533,15 @@ IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation,
content::CommonNavigationParams, /* common_params */
content::RequestNavigationParams /* request_params */)
+// PlzNavigate
+// Tells the renderer that a navigation failed with the error code |error_code|
+// and that the renderer should display an appropriate error page.
+IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation,
+ content::CommonNavigationParams, /* common_params */
+ content::RequestNavigationParams, /* request_params */
+ bool, /* stale_copy_in_cache */
+ int /* error_code */)
Charlie Reis 2015/04/09 00:07:30 Shouldn't this comment line up with the others, as
clamy 2015/04/10 14:04:49 Done. Weirdly this is produced by git cl format.
+
#if defined(ENABLE_PLUGINS)
// Notifies the renderer of updates to the Plugin Power Saver origin whitelist.
IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist,

Powered by Google App Engine
This is Rietveld 408576698