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

Unified Diff: content/common/view_messages.h

Issue 304313003: Allow view-source of pages fully-blocked by Blink's XSS filter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove stray debugging include. Created 6 years, 7 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/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 4688fd6494f44ec7d8067b56b4ed2091186d31b6..c97b0e59426a94cf12bc489e0fba823494254559 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1142,6 +1142,11 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent,
std::string /* security_origin */,
GURL /* target URL */)
+// Sent when the renderer detects an XSS in a page.
+IPC_MESSAGE_ROUTED2(ViewHostMsg_DidDetectXSS,
+ GURL /* url */,
+ bool /* blocked entire page */)
+
// Sent to update part of the view. In response to this message, the host
// generates a ViewMsg_UpdateRect_ACK message.
IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect,

Powered by Google App Engine
This is Rietveld 408576698