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

Unified Diff: shell/android/library_loader.cc

Issue 1456913002: Use thread with looper and native message loop for vsync service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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: shell/android/library_loader.cc
diff --git a/shell/android/library_loader.cc b/shell/android/library_loader.cc
index 4c4f38ad779f5dd334887b06096f4ffedfa95881..7a4f870b328460161497324981ab7bc81fcb7a05 100644
--- a/shell/android/library_loader.cc
+++ b/shell/android/library_loader.cc
@@ -13,6 +13,7 @@
#include "shell/android/android_handler.h"
#include "shell/android/java_application_loader.h"
#include "shell/android/main.h"
+#include "shell/android/native_handler_thread.h"
namespace {
@@ -21,10 +22,11 @@ base::android::RegistrationMethod kMojoRegisteredMethods[] = {
{"Core", mojo::android::RegisterCoreImpl},
{"BaseRunLoop", mojo::android::RegisterBaseRunLoop},
{"AndroidHandler", shell::RegisterAndroidHandlerJni},
+ {"JavaApplicationLoader", shell::JavaApplicationLoader::RegisterJni},
+ {"NativeHandlerThread", shell::RegisterNativeHandlerThreadJni},
{"PlatformViewportAndroid",
native_viewport::PlatformViewportAndroid::Register},
{"ShellService", shell::RegisterShellService},
- {"JavaApplicationLoader", shell::JavaApplicationLoader::RegisterJni},
};
bool RegisterJNI(JNIEnv* env) {
« no previous file with comments | « shell/android/apk/src/org/chromium/mojo/shell/VsyncFactory.java ('k') | shell/android/native_handler_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698