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

Unified Diff: gin/test/gc.h

Issue 214183003: Change mojo JS bindings to expose a handle object, which is Closed when garbage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm.extra.gc Created 6 years, 9 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
Index: gin/test/gc.h
diff --git a/mojo/bindings/js/core.h b/gin/test/gc.h
similarity index 62%
copy from mojo/bindings/js/core.h
copy to gin/test/gc.h
index bde327ce5ad169c7fd25817a12b368d03bd19a6e..25917efd687f6c399fe3629a21775a7d8c4efc1a 100644
--- a/mojo/bindings/js/core.h
+++ b/gin/test/gc.h
@@ -2,21 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_BINDINGS_JS_CORE_H_
-#define MOJO_BINDINGS_JS_CORE_H_
+#ifndef GIN_TEST_GC_H_
+#define GIN_TEST_GC_H_
#include "v8/include/v8.h"
-namespace mojo {
-namespace js {
+namespace gin {
-class Core {
+// This module provides bindings to the garbage collector.
+class GC {
public:
static const char kModuleName[];
static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
};
-} // namespace js
-} // namespace mojo
+} // namespace gin
-#endif // MOJO_BINDINGS_JS_CORE_H_
+#endif // GIN_TEST_GC_H_
« no previous file with comments | « gin/test/file_runner.cc ('k') | gin/test/gc.cc » ('j') | mojo/bindings/js/core.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698