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

Unified Diff: third_party/WebKit/Source/core/fetch/RawResource.h

Issue 1866433002: Use RequestContext to apply CSP in FrameFetchContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename redirectReceivedAndNotFollowed() to redirectBlocked() Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/RawResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/RawResource.h
diff --git a/third_party/WebKit/Source/core/fetch/RawResource.h b/third_party/WebKit/Source/core/fetch/RawResource.h
index 87d9db4e65860a33458738cd7e279e7a94feaa79..918dcaa2366908c459c2429a8768aba79397e142 100644
--- a/third_party/WebKit/Source/core/fetch/RawResource.h
+++ b/third_party/WebKit/Source/core/fetch/RawResource.h
@@ -80,6 +80,7 @@ private:
bool shouldIgnoreHTTPStatusCodeErrors() const override { return !isLinkPreload(); }
void willFollowRedirect(ResourceRequest&, const ResourceResponse&) override;
+ void willNotFollowRedirect() override;
void responseReceived(const ResourceResponse&, PassOwnPtr<WebDataConsumerHandle>) override;
void setSerializedCachedMetadata(const char*, size_t) override;
void didSendData(unsigned long long bytesSent, unsigned long long totalBytesToBeSent) override;
@@ -111,6 +112,7 @@ public:
virtual void setSerializedCachedMetadata(Resource*, const char*, size_t) { }
virtual void dataReceived(Resource*, const char* /* data */, size_t /* length */) { }
virtual void redirectReceived(Resource*, ResourceRequest&, const ResourceResponse&) { }
+ virtual void redirectBlocked() {}
virtual void dataDownloaded(Resource*, int) { }
virtual void didReceiveResourceTiming(Resource*, const ResourceTimingInfo&) { }
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/RawResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698