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

Unified Diff: sky/shell/android/org/domokit/sky/shell/PlatformServiceProvider.java

Issue 1139873004: Make android directory for Android-specific bits of SkyShell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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/org/domokit/sky/shell/PlatformServiceProvider.java
diff --git a/sky/shell/org/domokit/sky/shell/JavaServiceProvider.java b/sky/shell/android/org/domokit/sky/shell/PlatformServiceProvider.java
similarity index 87%
rename from sky/shell/org/domokit/sky/shell/JavaServiceProvider.java
rename to sky/shell/android/org/domokit/sky/shell/PlatformServiceProvider.java
index 47996f466501af32a7b34491439d90694d96bdaa..70b8866655148190819fc273926d115d64f5337c 100644
--- a/sky/shell/org/domokit/sky/shell/JavaServiceProvider.java
+++ b/sky/shell/android/org/domokit/sky/shell/PlatformServiceProvider.java
@@ -18,7 +18,7 @@ import org.chromium.mojom.mojo.ServiceProvider;
* A collection of services implemented in Java.
**/
@JNINamespace("sky::shell")
-public class JavaServiceProvider implements ServiceProvider {
+public class PlatformServiceProvider implements ServiceProvider {
private Core mCore;
private Context mContext;
@@ -27,10 +27,10 @@ public class JavaServiceProvider implements ServiceProvider {
public static void create(Context context, int nativeHandle) {
Core core = CoreImpl.getInstance();
MessagePipeHandle pipe = core.acquireNativeHandle(nativeHandle).toMessagePipeHandle();
- ServiceProvider.MANAGER.bind(new JavaServiceProvider(core, context), pipe);
+ ServiceProvider.MANAGER.bind(new PlatformServiceProvider(core, context), pipe);
}
- public JavaServiceProvider(Core core, Context context) {
+ public PlatformServiceProvider(Core core, Context context) {
assert core != null;
assert context != null;
mCore = core;

Powered by Google App Engine
This is Rietveld 408576698