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

Unified Diff: mojo/common/test/test_utils.h

Issue 253413004: Enable mojo js tests which depend on mojom.js files in gen/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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 | « mojo/bindings/js/run_js_tests.cc ('k') | mojo/common/test/test_utils_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/test/test_utils.h
diff --git a/mojo/common/test/test_utils.h b/mojo/common/test/test_utils.h
index 369e2bfc6f068a87d2ccd60c51bbb9389fd37d4d..6b9be227ad7191357a37e4dd2a41bcae4352f726 100644
--- a/mojo/common/test/test_utils.h
+++ b/mojo/common/test/test_utils.h
@@ -7,6 +7,10 @@
#include <stddef.h>
+#include <string>
+
+#include "base/files/file_path.h"
+
namespace mojo {
namespace embedder {
@@ -38,6 +42,9 @@ bool NonBlockingRead(const embedder::PlatformHandle& handle,
size_t buffer_size,
size_t* bytes_read);
+// Returns the path to the mojom js bindings file.
+base::FilePath GetFilePathForJSResource(const std::string& path);
+
} // namespace test
} // namespace mojo
« no previous file with comments | « mojo/bindings/js/run_js_tests.cc ('k') | mojo/common/test/test_utils_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698