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

Unified Diff: gin/test/file.h

Issue 419673004: gin test - add simple file access for JS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add null return tests for no-args and non-existant paths Created 6 years, 5 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 | « gin/gin.gyp ('k') | gin/test/file.cc » ('j') | gin/test/file.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/test/file.h
diff --git a/gin/test/gc.h b/gin/test/file.h
similarity index 70%
copy from gin/test/gc.h
copy to gin/test/file.h
index 25917efd687f6c399fe3629a21775a7d8c4efc1a..a4acd59f0ba5674f44a973ed8663a5abf864e4da 100644
--- a/gin/test/gc.h
+++ b/gin/test/file.h
@@ -2,15 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef GIN_TEST_GC_H_
-#define GIN_TEST_GC_H_
+#ifndef GIN_TEST_FILE_H_
+#define GIN_TEST_FILE_H_
#include "v8/include/v8.h"
namespace gin {
-// This module provides bindings to the garbage collector.
-class GC {
+class File {
public:
static const char kModuleName[];
static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
@@ -18,4 +17,5 @@ class GC {
} // namespace gin
-#endif // GIN_TEST_GC_H_
+#endif // GIN_TEST_FILE_H_
+
« no previous file with comments | « gin/gin.gyp ('k') | gin/test/file.cc » ('j') | gin/test/file.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698