| Index: third_party/WebKit/Source/core/fetch/MemoryCache.h
|
| diff --git a/third_party/WebKit/Source/core/fetch/MemoryCache.h b/third_party/WebKit/Source/core/fetch/MemoryCache.h
|
| index 92664bd164a14164a5a4f453c3361ac3aa586616..99cc5e89a22284760332b695e6663fe0853e408d 100644
|
| --- a/third_party/WebKit/Source/core/fetch/MemoryCache.h
|
| +++ b/third_party/WebKit/Source/core/fetch/MemoryCache.h
|
| @@ -28,6 +28,7 @@
|
| #include "core/CoreExport.h"
|
| #include "core/fetch/Resource.h"
|
| #include "core/fetch/ResourcePtr.h"
|
| +#include "public/platform/WebMemoryDumpProvider.h"
|
| #include "public/platform/WebThread.h"
|
| #include "wtf/Allocator.h"
|
| #include "wtf/HashMap.h"
|
| @@ -233,6 +234,9 @@ public:
|
|
|
| void updateFramePaintTimestamp();
|
|
|
| + // Take memory usage snapshot for tracing.
|
| + void onMemoryDump(WebProcessMemoryDump*);
|
| +
|
| private:
|
| enum PruneStrategy {
|
| // Automatically decide how much to prune.
|
|
|