diff options
author | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-09 21:26:28 +0000 |
---|---|---|
committer | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-09 21:26:28 +0000 |
commit | 9b221756628153638da5db1e46ca5ab42e12e88f (patch) | |
tree | 908d7ba18dce8eaab48779f2a3371ea78a0f0d91 /webkit/extensions/v8/profiler_extension.h | |
parent | db811c343705e846aba6fe47015de1eb5bacaf14 (diff) | |
download | chromium_src-9b221756628153638da5db1e46ca5ab42e12e88f.zip chromium_src-9b221756628153638da5db1e46ca5ab42e12e88f.tar.gz chromium_src-9b221756628153638da5db1e46ca5ab42e12e88f.tar.bz2 |
Add API functions to control Quantify, as well as expose these
functions to javascript.
Review URL: http://codereview.chromium.org/40255
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11291 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/extensions/v8/profiler_extension.h')
-rw-r--r-- | webkit/extensions/v8/profiler_extension.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/webkit/extensions/v8/profiler_extension.h b/webkit/extensions/v8/profiler_extension.h new file mode 100644 index 0000000..8112da3 --- /dev/null +++ b/webkit/extensions/v8/profiler_extension.h @@ -0,0 +1,24 @@ +// Copyright (c) 2006-2008 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. + +// Profiler is an extension to allow javascript access to the API for +// an external profiler program (such as Quantify). The "External" part of the +// name is to distinguish it from the built-in V8 Profiler. + +#ifndef WEBKIT_EXTENSIONS_V8_PROFILER_EXTENSION_H_ +#define WEBKIT_EXTENSIONS_V8_PROFILER_EXTENSION_H_ + +#include "v8/include/v8.h" + +namespace extensions_v8 { + +class ProfilerExtension { + public: + static v8::Extension* Get(); +}; + +} // namespace extensions_v8 + +#endif // WEBKIT_EXTENSIONS_V8_PROFILER_EXTENSION_H_ + |