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

Unified Diff: mojo/shell/android/shell_apk/src/org/chromium/mojo_shell_apk/MojoMain.java

Issue 47343002: Pass app URL to mojo_shell on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 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/shell/android/shell_apk/src/org/chromium/mojo_shell_apk/MojoMain.java
diff --git a/mojo/shell/android/shell_apk/src/org/chromium/mojo_shell_apk/MojoMain.java b/mojo/shell/android/shell_apk/src/org/chromium/mojo_shell_apk/MojoMain.java
index 1a8e273097508143b856178cd8e4352d51668455..2e60783d92760af878729461473aebb7bc1d5bb8 100644
--- a/mojo/shell/android/shell_apk/src/org/chromium/mojo_shell_apk/MojoMain.java
+++ b/mojo/shell/android/shell_apk/src/org/chromium/mojo_shell_apk/MojoMain.java
@@ -13,9 +13,9 @@ public class MojoMain {
/**
* Initialize application context in native side.
**/
- public static void start(Context context) {
- nativeStart(context);
+ public static void start(Context context, String appUrl) {
+ nativeStart(context, appUrl);
}
- private static native void nativeStart(Context context);
+ private static native void nativeStart(Context context, String appUrl);
};
« no previous file with comments | « mojo/shell/android/mojo_main.cc ('k') | mojo/shell/android/shell_apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698