Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1240)

Unified Diff: test/cctest/profiler-extension.h

Issue 130213009: Various extension-related cleanup and simplifications. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Whitespace Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/print-extension.cc ('k') | test/cctest/profiler-extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/profiler-extension.h
diff --git a/test/cctest/profiler-extension.h b/test/cctest/profiler-extension.h
index 00960b9a97cf28d18b3ccc26077841b5be3a37a9..392a7efbc753907f105c039a8f4a7aa85fa2065b 100644
--- a/test/cctest/profiler-extension.h
+++ b/test/cctest/profiler-extension.h
@@ -27,8 +27,14 @@
//
// Tests of profiles generator and utilities.
+#ifndef V8_TEST_CCTEST_PROFILER_EXTENSION_H_
+#define V8_TEST_CCTEST_PROFILER_EXTENSION_H_
+
#include "../include/v8-profiler.h"
+namespace v8 {
+namespace internal {
+
class ProfilerExtension : public v8::Extension {
public:
ProfilerExtension() : v8::Extension("v8/profiler", kSource) { }
@@ -41,3 +47,8 @@ class ProfilerExtension : public v8::Extension {
private:
static const char* kSource;
};
+
+
+} } // namespace v8::internal
+
+#endif
« no previous file with comments | « test/cctest/print-extension.cc ('k') | test/cctest/profiler-extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698