summaryrefslogtreecommitdiffstats
path: root/webkit/extensions/v8/benchmarking_extension.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-09 21:07:41 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-09 21:07:41 +0000
commit2ced3a350c7c160a20cb1f2aea1d6ae9c49f5da0 (patch)
tree0e1d7f9d6d9405203cb8e20aa782a9993bb4dd01 /webkit/extensions/v8/benchmarking_extension.h
parent9816a5d291165560436a4882c1ee222cc326f209 (diff)
downloadchromium_src-2ced3a350c7c160a20cb1f2aea1d6ae9c49f5da0.zip
chromium_src-2ced3a350c7c160a20cb1f2aea1d6ae9c49f5da0.tar.gz
chromium_src-2ced3a350c7c160a20cb1f2aea1d6ae9c49f5da0.tar.bz2
Forward declare v8::Extension in webkit/extensions/v8/*.
TBR=asargent@chromium.org R=mihaip@chromium.org Review URL: http://codereview.chromium.org/7860006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100490 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/extensions/v8/benchmarking_extension.h')
-rw-r--r--webkit/extensions/v8/benchmarking_extension.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/webkit/extensions/v8/benchmarking_extension.h b/webkit/extensions/v8/benchmarking_extension.h
index 0ce9850..3aa5cee 100644
--- a/webkit/extensions/v8/benchmarking_extension.h
+++ b/webkit/extensions/v8/benchmarking_extension.h
@@ -1,18 +1,20 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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_BENCHMARKING_EXTENSION_H_
#define WEBKIT_EXTENSIONS_V8_BENCHMARKING_EXTENSION_H_
+#pragma once
-#include "v8/include/v8.h"
+namespace v8 {
+class Extension;
+}
namespace extensions_v8 {
+// 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.
class BenchmarkingExtension {
public:
static v8::Extension* Get();