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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.h

Issue 2790693002: Split CSP into pre- and post-upgrade checks (Closed)
Patch Set: revert accidental AbstractWorker change 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/core/loader/FrameLoader.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.h b/third_party/WebKit/Source/core/loader/FrameLoader.h
index 7d7a0f3a4f6a60d46f78b232587f57d254ec443f..7ea22eb9d06058fc425997e88a877c9842ab6831 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.h
@@ -202,6 +202,19 @@ class CORE_EXPORT FrameLoader final {
bool is_client_redirect,
HTMLFormElement*);
+ // Like ShouldContinueForNavigationPolicy, but should be used when following
+ // redirects.
+ NavigationPolicy ShouldContinueForRedirectNavigationPolicy(
+ const ResourceRequest&,
+ const SubstituteData&,
+ DocumentLoader*,
+ ContentSecurityPolicyDisposition,
+ NavigationType,
+ NavigationPolicy,
+ FrameLoadType,
+ bool is_client_redirect,
+ HTMLFormElement*);
+
// Note: When a PlzNavigtate navigation is handled by the client, we will
// have created a dummy provisional DocumentLoader, so this will return true
// while the client handles the navigation.

Powered by Google App Engine
This is Rietveld 408576698