OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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. |
| 4 |
| 5 #ifndef BASE_TEST_SCOPED_MEMORY_USAGE_H_ |
| 6 #define BASE_TEST_SCOPED_MEMORY_USAGE_H_ |
| 7 |
| 8 #include <stddef.h> |
| 9 |
| 10 #include "base/macros.h" |
| 11 |
| 12 namespace base { |
| 13 namespace test { |
| 14 |
| 15 class ScopedMemoryUsage { |
| 16 public: |
| 17 ScopedMemoryUsage(); |
| 18 ~ScopedMemoryUsage(); |
| 19 |
| 20 size_t Usage() const; |
| 21 |
| 22 static void Initialize(); |
| 23 }; |
| 24 |
| 25 } // namespace test |
| 26 } // namespace base |
| 27 |
| 28 #endif // BASE_TEST_SCOPED_MEMORY_USAGE_H_ |
| 29 |
OLD | NEW |