/src/mozilla-central/gfx/thebes/SkMemoryReporter.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
2 | | /* vim: set ts=8 sts=2 et sw=2 tw=80: */ |
3 | | /* This Source Code Form is subject to the terms of the Mozilla Public |
4 | | * License, v. 2.0. If a copy of the MPL was not distributed with this |
5 | | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
6 | | |
7 | | #ifndef GFX_SKMEMORYREPORTER_H |
8 | | #define GFX_SKMEMORYREPORTER_H |
9 | | |
10 | | #include "nsIMemoryReporter.h" |
11 | | |
12 | | namespace mozilla { |
13 | | namespace gfx { |
14 | | |
15 | | class SkMemoryReporter final : public nsIMemoryReporter |
16 | | { |
17 | | public: |
18 | | NS_DECL_ISUPPORTS |
19 | | |
20 | | NS_IMETHOD CollectReports(nsIHandleReportCallback* aHandleReport, |
21 | | nsISupports* aData, |
22 | | bool aAnonymize) override; |
23 | | |
24 | | private: |
25 | 0 | ~SkMemoryReporter() {} |
26 | | }; |
27 | | |
28 | | } // namespace gfx |
29 | | } // namespace mozilla |
30 | | |
31 | | #endif /* GFX_SKMEMORYREPORTER_H */ |