| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 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 WEBKIT_EXTENSIONS_V8_PROFILER_EXTENSION_H_ | |
| 6 #define WEBKIT_EXTENSIONS_V8_PROFILER_EXTENSION_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "webkit/extensions/webkit_extensions_export.h" | |
| 10 | |
| 11 namespace v8 { | |
| 12 class Extension; | |
| 13 } | |
| 14 | |
| 15 namespace extensions_v8 { | |
| 16 | |
| 17 // Profiler is an extension to allow javascript access to the API for | |
| 18 // an external profiler program (such as Quantify). The "External" part of the | |
| 19 // name is to distinguish it from the built-in V8 Profiler. | |
| 20 class ProfilerExtension { | |
| 21 public: | |
| 22 WEBKIT_EXTENSIONS_EXPORT static v8::Extension* Get(); | |
| 23 }; | |
| 24 | |
| 25 } // namespace extensions_v8 | |
| 26 | |
| 27 #endif // WEBKIT_EXTENSIONS_V8_PROFILER_EXTENSION_H_ | |
| OLD | NEW |