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

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

Issue 673243002: Rename Resource::willSendRequest() to willFollowRedirect() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed #4 Created 6 years, 2 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 | « Source/core/fetch/CachingCorrectnessTest.cpp ('k') | Source/core/fetch/RawResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/RawResource.h
diff --git a/Source/core/fetch/RawResource.h b/Source/core/fetch/RawResource.h
index 814cd87f7cfdf79d1ce476226af8e37bead3aea8..793f0f09341771aa8d3a7a3d31f9e8458e2297c3 100644
--- a/Source/core/fetch/RawResource.h
+++ b/Source/core/fetch/RawResource.h
@@ -40,19 +40,19 @@ public:
// This can be fixed by splitting CORS preflighting out of DocumentThreacableLoader.
void setDefersLoading(bool);
- virtual bool canReuse(const ResourceRequest&) const override;
+ bool canReuse(const ResourceRequest&) const override;
private:
- virtual void didAddClient(ResourceClient*) override;
- virtual void appendData(const char*, unsigned) override;
+ void didAddClient(ResourceClient*) override;
+ void appendData(const char*, unsigned) override;
- virtual bool shouldIgnoreHTTPStatusCodeErrors() const override { return true; }
+ bool shouldIgnoreHTTPStatusCodeErrors() const override { return true; }
- virtual void willSendRequest(ResourceRequest&, const ResourceResponse&) override;
- virtual void updateRequest(const ResourceRequest&) override;
- virtual void responseReceived(const ResourceResponse&) override;
- virtual void didSendData(unsigned long long bytesSent, unsigned long long totalBytesToBeSent) override;
- virtual void didDownloadData(int) override;
+ void willFollowRedirect(ResourceRequest&, const ResourceResponse&) override;
+ void updateRequest(const ResourceRequest&) override;
+ void responseReceived(const ResourceResponse&) override;
+ void didSendData(unsigned long long bytesSent, unsigned long long totalBytesToBeSent) override;
+ void didDownloadData(int) override;
};
#if ENABLE(SECURITY_ASSERT)
« no previous file with comments | « Source/core/fetch/CachingCorrectnessTest.cpp ('k') | Source/core/fetch/RawResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698