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

Unified Diff: mojo/edk/embedder/test_embedder.cc

Issue 728783003: Add infrastructure to run tests on android. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: mojo/edk/embedder/test_embedder.cc
diff --git a/mojo/edk/embedder/test_embedder.cc b/mojo/edk/embedder/test_embedder.cc
index defab418e282e155b5401008d3515ce331417279..405e3303e592fd08244ab165b4ba00156ec8e4ff 100644
--- a/mojo/edk/embedder/test_embedder.cc
+++ b/mojo/edk/embedder/test_embedder.cc
@@ -45,6 +45,10 @@ void InitWithSimplePlatformSupport() {
Init(make_scoped_ptr(new SimplePlatformSupport()));
}
+bool IsInitialized() {
+ return internal::g_channel_manager;
+}
+
bool Shutdown() {
CHECK(internal::g_channel_manager);
delete internal::g_channel_manager;

Powered by Google App Engine
This is Rietveld 408576698