1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef PartitionAllocMemoryDumpProvider_h
6 #define PartitionAllocMemoryDumpProvider_h
8 #include "public/platform/WebCommon.h"
9 #include "public/platform/WebMemoryDumpProvider.h"
13 class BLINK_PLATFORM_EXPORT PartitionAllocMemoryDumpProvider final
: public WebMemoryDumpProvider
{
15 static PartitionAllocMemoryDumpProvider
* instance();
16 ~PartitionAllocMemoryDumpProvider() override
;
18 // WebMemoryDumpProvider implementation.
19 bool onMemoryDump(WebMemoryDumpLevelOfDetail
, WebProcessMemoryDump
*) override
;
22 PartitionAllocMemoryDumpProvider();
27 #endif // PartitionAllocMemoryDumpProvider_h