Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Unified Diff: content/renderer/memory_benchmarking_extension.h

Issue 12211008: Add a benchmarking_extension API to call TCMalloc's HeapProfilerDump(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed the comment Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/renderer/memory_benchmarking_extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/memory_benchmarking_extension.h
diff --git a/content/renderer/memory_benchmarking_extension.h b/content/renderer/memory_benchmarking_extension.h
new file mode 100644
index 0000000000000000000000000000000000000000..267a9301411a29ed49c920010c4acb8ba6043d37
--- /dev/null
+++ b/content/renderer/memory_benchmarking_extension.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2013 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 CONTENT_RENDERER_MEMORY_BENCHMARKING_EXTENSION_H_
+#define CONTENT_RENDERER_MEMORY_BENCHMARKING_EXTENSION_H_
+
+#include "v8/include/v8.h"
+
+namespace content {
+
+class MemoryBenchmarkingExtension {
+ public:
+ static v8::Extension* Get();
+};
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_MEMORY_BENCHMARKING_EXTENSION_H_
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/renderer/memory_benchmarking_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698