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 471249d76b8b0c592d62abc1705f79024817585b..22e1039e40225469d9f7925a165418f15cbea0a0 100644 |
--- a/third_party/WebKit/Source/core/fetch/Resource.h |
+++ b/third_party/WebKit/Source/core/fetch/Resource.h |
@@ -249,6 +249,13 @@ protected: |
virtual void checkNotify(); |
+ enum class MarkFinishedOption { |
+ ShouldMarkFinished, |
+ DoNotMarkFinished |
+ }; |
+ void notifyClientsInternal(MarkFinishedOption); |
+ void markClientFinished(ResourceClient*); |
+ |
virtual void destroyDecodedDataForFailedRevalidation() { } |
void setEncodedSize(size_t); |
@@ -283,8 +290,6 @@ protected: |
virtual bool isSafeToUnlock() const { return false; } |
virtual void destroyDecodedDataIfPossible() { } |
- virtual void markClientsAndObserversFinished(); |
- |
// Returns the memory dump name used for tracing. See Resource::onMemoryDump. |
String getMemoryDumpName() const; |