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

Unified Diff: third_party/WebKit/Source/core/frame/csp/SourceListDirective.h

Issue 2025633002: Move 'ContentSecurityPolicy::RedirectStatus' into 'ResourceRequest' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: foolip@ Created 4 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: third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
diff --git a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
index d00ee36ddb4db5e16331543fcc25b1021d41dee7..7b38befd8e0f8462d0cc45d0e37849460086cff9 100644
--- a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
+++ b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h
@@ -7,8 +7,8 @@
#include "core/frame/csp/CSPDirective.h"
#include "core/frame/csp/CSPSourceList.h"
-#include "core/frame/csp/ContentSecurityPolicy.h"
#include "platform/network/ContentSecurityPolicyParsers.h"
+#include "platform/network/ResourceRequest.h"
#include "wtf/HashSet.h"
#include "wtf/text/WTFString.h"
@@ -23,7 +23,7 @@ public:
SourceListDirective(const String& name, const String& value, ContentSecurityPolicy*);
DECLARE_TRACE();
- bool allows(const KURL&, blink::ContentSecurityPolicy::RedirectStatus) const;
+ bool allows(const KURL&, ResourceRequest::RedirectStatus) const;
bool allowInline() const;
bool allowEval() const;
bool allowDynamic() const;

Powered by Google App Engine
This is Rietveld 408576698