| 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 4614d1fbaf77e4cbef8ab026d3a666769bdcf2ec..fb015e020dba408cb9de13d3b86891c94d798216 100644
|
| --- a/third_party/WebKit/Source/core/fetch/Resource.h
|
| +++ b/third_party/WebKit/Source/core/fetch/Resource.h
|
| @@ -260,6 +260,8 @@ public:
|
| // Used by the MemoryCache to reduce the memory consumption of the entry.
|
| void prune();
|
|
|
| + virtual void onMemoryDump(WebProcessMemoryDump*) const;
|
| +
|
| static const char* resourceTypeToString(Type, const FetchInitiatorInfo&);
|
|
|
| #ifdef ENABLE_RESOURCE_IS_DELETED_CHECK
|
| @@ -343,6 +345,9 @@ protected:
|
| virtual bool isSafeToUnlock() const { return false; }
|
| virtual void destroyDecodedDataIfPossible() { }
|
|
|
| + // Returns the memory dump name used for tracing. See Resource::onMemoryDump.
|
| + String getMemoryDumpName() const;
|
| +
|
| ResourceRequest m_resourceRequest;
|
| AtomicString m_accept;
|
| PersistentWillBeMember<ResourceLoader> m_loader;
|
|
|