Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / platform / PartitionAllocMemoryDumpProvider.h
blob2e56e9b0ab88a1755ae2f8d727eeccd738d92dc7
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"
11 namespace blink {
13 class BLINK_PLATFORM_EXPORT PartitionAllocMemoryDumpProvider final : public WebMemoryDumpProvider {
14 public:
15 static PartitionAllocMemoryDumpProvider* instance();
16 ~PartitionAllocMemoryDumpProvider() override;
18 // WebMemoryDumpProvider implementation.
19 bool onMemoryDump(WebMemoryDumpLevelOfDetail, WebProcessMemoryDump*) override;
21 private:
22 PartitionAllocMemoryDumpProvider();
25 } // namespace blink
27 #endif // PartitionAllocMemoryDumpProvider_h