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 0807e2007148d1545cb322ce5e18f5711c057b85..ef0a3e6b531881bae1cdd63f8f250209d5a7ef29 100644 |
--- a/third_party/WebKit/Source/core/fetch/Resource.h |
+++ b/third_party/WebKit/Source/core/fetch/Resource.h |
@@ -248,6 +248,13 @@ protected: |
virtual void checkNotify(); |
+ enum class MarkFinishedOption { |
+ ShouldMarkFinished, |
+ DoNotMarkFinished |
+ }; |
+ void notifyClientsInternal(MarkFinishedOption); |
+ void markClientFinished(ResourceClient*); |
+ |
virtual void destroyDecodedDataForFailedRevalidation() { } |
void setEncodedSize(size_t); |
@@ -282,8 +289,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; |