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

Unified Diff: sky/shell/android/library_loader.cc

Issue 1217573005: Do not use android specific API in mojo/java. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Do not use android APIs Created 5 years, 6 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: sky/shell/android/library_loader.cc
diff --git a/sky/shell/android/library_loader.cc b/sky/shell/android/library_loader.cc
index f076c2d79755c0205197d55245942e8d3b978e46..5cb62e3e9b72ad3b3dfdc24b4c773a93e0443b33 100644
--- a/sky/shell/android/library_loader.cc
+++ b/sky/shell/android/library_loader.cc
@@ -9,6 +9,7 @@
#include "base/android/library_loader/library_loader_hooks.h"
#include "base/bind.h"
#include "base/logging.h"
+#include "mojo/android/system/base_run_loop.h"
#include "mojo/android/system/core_impl.h"
#include "sky/shell/android/platform_service_provider_android.h"
#include "sky/shell/android/platform_view_android.h"
@@ -19,6 +20,7 @@ namespace {
base::android::RegistrationMethod kSkyRegisteredMethods[] = {
{"CoreImpl", mojo::android::RegisterCoreImpl},
+ {"BaseRunLoop", mojo::android::RegisterBaseRunLoop},
{"PlatformServiceProvider", sky::shell::RegisterPlatformServiceProvider},
{"PlatformViewAndroid", sky::shell::PlatformViewAndroid::Register},
{"SkyMain", sky::shell::RegisterSkyMain},
« no previous file with comments | « sky/services/media/src/org/domokit/media/MediaServiceImpl.java ('k') | sky/shell/android/org/domokit/sky/shell/SkyMain.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698