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

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.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/Resource.h
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h
index f78725a8b5f01b9524e7d8b4dd1108e50bb9110a..ab23186c42c30c3b4a9b34a4da847c5c0cc54c5e 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.h
+++ b/third_party/WebKit/Source/core/fetch/Resource.h
@@ -230,7 +230,6 @@ class CORE_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
virtual void responseReceived(const ResourceResponse&,
std::unique_ptr<WebDataConsumerHandle>);
- void setResponse(const ResourceResponse&);
const ResourceResponse& response() const { return m_response; }
virtual void reportResourceTimingToClients(const ResourceTimingInfo&) {}
@@ -352,6 +351,8 @@ class CORE_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
virtual void checkNotify();
+ void setResponse(const ResourceResponse&);
+
void markClientFinished(ResourceClient*);
virtual bool hasClientsOrObservers() const {
« no previous file with comments | « third_party/WebKit/Source/core/fetch/RawResourceTest.cpp ('k') | third_party/WebKit/Source/core/fetch/ResourceTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698