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

Unified Diff: third_party/WebKit/Source/web/LocalFrameClientImpl.h

Issue 2702503002: Block renderer-initiated main frame navigations to data URLs (Closed)
Patch Set: Re-block data to data navigations, rebase, address nasko comments Created 3 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: third_party/WebKit/Source/web/LocalFrameClientImpl.h
diff --git a/third_party/WebKit/Source/web/LocalFrameClientImpl.h b/third_party/WebKit/Source/web/LocalFrameClientImpl.h
index 6228f89ae189a737ea44b49b0dba84abd5055e76..ec6a1da1d38cf1636863cc2299904734d02adc31 100644
--- a/third_party/WebKit/Source/web/LocalFrameClientImpl.h
+++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.h
@@ -168,6 +168,8 @@ class LocalFrameClientImpl final : public LocalFrameClient {
void didChangeScrollOffset() override;
void didUpdateCurrentHistoryItem() override;
+ bool allowInsecureDataUrlNavigations(const KURL&) override;
+
WebCookieJar* cookieJar() const override;
void frameFocused() const override;
void didChangeName(const String&) override;

Powered by Google App Engine
This is Rietveld 408576698