Index: src/extensions/statistics-extension.h |
diff --git a/src/extensions/gc-extension.h b/src/extensions/statistics-extension.h |
similarity index 84% |
copy from src/extensions/gc-extension.h |
copy to src/extensions/statistics-extension.h |
index 06ea4ed21a63d40db4f1aebfd5acd165e675affe..433c4cf6870c706957743415f23a27f4c4663244 100644 |
--- a/src/extensions/gc-extension.h |
+++ b/src/extensions/statistics-extension.h |
@@ -25,20 +25,20 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-#ifndef V8_EXTENSIONS_GC_EXTENSION_H_ |
-#define V8_EXTENSIONS_GC_EXTENSION_H_ |
+#ifndef V8_EXTENSIONS_STATISTICS_EXTENSION_H_ |
+#define V8_EXTENSIONS_STATISTICS_EXTENSION_H_ |
#include "v8.h" |
namespace v8 { |
namespace internal { |
-class GCExtension : public v8::Extension { |
+class StatisticsExtension : public v8::Extension { |
public: |
- GCExtension() : v8::Extension("v8/gc", kSource) {} |
+ StatisticsExtension() : v8::Extension("v8/statistics", kSource) {} |
virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction( |
v8::Handle<v8::String> name); |
- static v8::Handle<v8::Value> GC(const v8::Arguments& args); |
+ static v8::Handle<v8::Value> GetCounters(const v8::Arguments& args); |
static void Register(); |
private: |
static const char* const kSource; |
@@ -46,4 +46,4 @@ class GCExtension : public v8::Extension { |
} } // namespace v8::internal |
-#endif // V8_EXTENSIONS_GC_EXTENSION_H_ |
+#endif // V8_EXTENSIONS_STATISTICS_EXTENSION_H_ |