Index: base/test/scoped_memory_usage.h |
diff --git a/base/test/scoped_memory_usage.h b/base/test/scoped_memory_usage.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..27e0c88aaf99e850450fbe91d027d769ea66647f |
--- /dev/null |
+++ b/base/test/scoped_memory_usage.h |
@@ -0,0 +1,29 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef BASE_TEST_SCOPED_MEMORY_USAGE_H_ |
+#define BASE_TEST_SCOPED_MEMORY_USAGE_H_ |
+ |
+#include <stddef.h> |
+ |
+#include "base/macros.h" |
+ |
+namespace base { |
+namespace test { |
+ |
+class ScopedMemoryUsage { |
+ public: |
+ ScopedMemoryUsage(); |
+ ~ScopedMemoryUsage(); |
+ |
+ size_t Usage() const; |
+ |
+ static void Initialize(); |
+}; |
+ |
+} // namespace test |
+} // namespace base |
+ |
+#endif // BASE_TEST_SCOPED_MEMORY_USAGE_H_ |
+ |