OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.mojo_shell_apk; | 5 package org.chromium.mojo_shell_apk; |
6 | 6 |
7 import android.content.Context; | 7 import android.content.Context; |
8 | 8 |
9 import org.chromium.base.JNINamespace; | 9 import org.chromium.base.JNINamespace; |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 nativeStart(appUrl); | 45 nativeStart(appUrl); |
46 } | 46 } |
47 | 47 |
48 /** | 48 /** |
49 * Initializes the native system. This API should be called only once per pr
ocess. | 49 * Initializes the native system. This API should be called only once per pr
ocess. |
50 **/ | 50 **/ |
51 private static native void nativeInit(Context context, String[] parameters); | 51 private static native void nativeInit(Context context, String[] parameters); |
52 | 52 |
53 private static native void nativeStart(String appUrl); | 53 private static native void nativeStart(String appUrl); |
54 } | 54 } |
OLD | NEW |