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

Unified Diff: mojo/android/system/core_impl.cc

Issue 544603002: mojo: Move initialization of the embedder in java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: mojo/android/system/core_impl.cc
diff --git a/mojo/android/system/core_impl.cc b/mojo/android/system/core_impl.cc
index 62822fdc197447f344354ce67a47ce1c79c9e6ff..b8621300a4b37ac3649cd248fa58215edfbec9eb 100644
--- a/mojo/android/system/core_impl.cc
+++ b/mojo/android/system/core_impl.cc
@@ -13,8 +13,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "jni/CoreImpl_jni.h"
-#include "mojo/embedder/embedder.h"
-#include "mojo/embedder/simple_platform_support.h"
#include "mojo/public/c/environment/async_waiter.h"
#include "mojo/public/c/system/core.h"
#include "mojo/public/cpp/environment/environment.h"
@@ -51,11 +49,6 @@ void AsyncWaitCallback(void* data, MojoResult result) {
namespace mojo {
namespace android {
-static void Constructor(JNIEnv* env, jobject jcaller) {
- embedder::Init(scoped_ptr<embedder::PlatformSupport>(
- new embedder::SimplePlatformSupport()));
-}
-
static jlong GetTimeTicksNow(JNIEnv* env, jobject jcaller) {
return MojoGetTimeTicksNow();
}
« no previous file with comments | « mojo/android/javatests/init_library.cc ('k') | mojo/android/system/src/org/chromium/mojo/system/impl/CoreImpl.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698