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

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

Issue 2022083002: Move 'frame-src' CSP checks into FrameFetchContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: redirects Created 4 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: third_party/WebKit/Source/core/loader/DocumentLoader.h
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.h b/third_party/WebKit/Source/core/loader/DocumentLoader.h
index c83a4d96389fb601a48d4136caefea6b890aff9a..d3d8058c1299c5579aff40e0e342f675e8cb6913 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.h
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h
@@ -108,7 +108,7 @@ public:
NavigationType getNavigationType() const { return m_navigationType; }
void setNavigationType(NavigationType navigationType) { m_navigationType = navigationType; }
- void startLoadingMainResource();
+ void startLoadingMainResource(ContentSecurityPolicyDisposition);
void acceptDataFromThreadedReceiver(const char* data, int dataLength, int encodedDataLength);
DocumentLoadTiming& timing() { return m_documentLoadTiming; }
@@ -173,6 +173,7 @@ private:
String debugName() const override { return "DocumentLoader"; }
bool maybeLoadEmpty();
+ void loadUnique();
bool isRedirectAfterPost(const ResourceRequest&, const ResourceResponse&);

Powered by Google App Engine
This is Rietveld 408576698