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

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: Add Unit Test. Created 6 years, 6 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 5505194094069fb349b16cd194f9ef61ca55a80a..c90dcdc0bdb6c3218c95d80d74a2f8845341c2a7 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1148,6 +1148,12 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_DidRunInsecureContent,
std::string /* security_origin */,
GURL /* target URL */)
+// Sent when the renderer detects an XSS in a page.
+IPC_MESSAGE_ROUTED3(ViewHostMsg_DidDetectXSS,
nasko 2014/06/10 23:21:30 I'd rather see this IPC be routed through RenderFr
+ int32 /* page_id */,
+ 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