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

Unified Diff: content/public/browser/navigation_entry.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 xss_detected_ bool and use it. 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/public/browser/navigation_entry.h
diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h
index 6d69b0de4bc2557aa36a60cba1497133abe08635..11b5c0f14b94dda3aee1d751312d926257359145 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -217,6 +217,9 @@ class NavigationEntry {
// True if this entry is restored and hasn't been loaded.
virtual bool IsRestored() const = 0;
+
+ // Whether an XSS was detected by Blink's XSSAuditor for this entry.
+ virtual bool GetXssDetected() const = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698