OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2006-2009 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 // HeapProfilerExtension is a V8 extension to expose a JS function for |
| 6 // dumping native heap profiles. This should only be used for |
| 7 // debugging. |
| 8 |
| 9 #ifndef WEBKIT_EXTENSIONS_V8_HEAP_PROFILER_EXTENSION_H_ |
| 10 #define WEBKIT_EXTENSIONS_V8_HEAP_PROFILER_EXTENSION_H_ |
| 11 |
| 12 #include "v8/include/v8.h" |
| 13 |
| 14 namespace extensions_v8 { |
| 15 |
| 16 class HeapProfilerExtension { |
| 17 public: |
| 18 static v8::Extension* Get(); |
| 19 }; |
| 20 |
| 21 } // namespace extensions_v8 |
| 22 |
| 23 #endif // WEBKIT_EXTENSIONS_V8_HEAP_PROFILER_EXTENSION_H_ |
OLD | NEW |