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

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

Issue 2649853003: Make Resource::setResponse() private
Patch Set: Rebase Created 3 years, 11 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/fetch/RawResource.h
diff --git a/third_party/WebKit/Source/core/fetch/RawResource.h b/third_party/WebKit/Source/core/fetch/RawResource.h
index 95401e137c4f951c0d800e32fd6e722190dbfc1e..4d25828a4307a53d3d7e9e4cee51adcc07f82f29 100644
--- a/third_party/WebKit/Source/core/fetch/RawResource.h
+++ b/third_party/WebKit/Source/core/fetch/RawResource.h
@@ -65,6 +65,8 @@ class CORE_EXPORT RawResource final : public Resource {
bool canReuse(const ResourceRequest&) const override;
bool willFollowRedirect(const ResourceRequest&,
const ResourceResponse&) override;
+ void responseReceived(const ResourceResponse&,
+ std::unique_ptr<WebDataConsumerHandle>) override;
private:
class RawResourceFactory : public ResourceFactory {
@@ -87,8 +89,6 @@ class CORE_EXPORT RawResource final : public Resource {
return !isLinkPreload();
}
void willNotFollowRedirect() override;
- void responseReceived(const ResourceResponse&,
- std::unique_ptr<WebDataConsumerHandle>) override;
void setSerializedCachedMetadata(const char*, size_t) override;
void didSendData(unsigned long long bytesSent,
unsigned long long totalBytesToBeSent) override;

Powered by Google App Engine
This is Rietveld 408576698