diff options
Diffstat (limited to 'webkit/port/bindings/v8/extensions/GCController.h')
-rw-r--r-- | webkit/port/bindings/v8/extensions/GCController.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/webkit/port/bindings/v8/extensions/GCController.h b/webkit/port/bindings/v8/extensions/GCController.h new file mode 100644 index 0000000..d0a1b3d --- /dev/null +++ b/webkit/port/bindings/v8/extensions/GCController.h @@ -0,0 +1,22 @@ +// 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. + +// The GCExtension is a v8 extension to expose a method into JS for triggering +// garbage collection. This should only be used for debugging. + +#ifndef GC_EXTENSION_H__ +#define GC_EXTENSION_H__ + +#include "v8.h" + +namespace WebCore { + +class GCExtension { + public: + static v8::Extension* Get(); +}; + +} + +#endif // GC_EXTENSION_H__ |