OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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.content.app; | 5 package org.chromium.content.app; |
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 12 matching lines...) Expand all Loading... |
23 /** | 23 /** |
24 * Initialize application context in native side. | 24 * Initialize application context in native side. |
25 **/ | 25 **/ |
26 public static void initApplicationContext(Context context) { | 26 public static void initApplicationContext(Context context) { |
27 nativeInitApplicationContext(context); | 27 nativeInitApplicationContext(context); |
28 } | 28 } |
29 | 29 |
30 /** | 30 /** |
31 * Start the ContentMainRunner in native side. | 31 * Start the ContentMainRunner in native side. |
32 **/ | 32 **/ |
33 public static int start() { | 33 public static void start() { |
34 return nativeStart(); | 34 nativeStart(); |
35 } | 35 } |
36 | 36 |
37 private static native void nativeInitApplicationContext(Context context); | 37 private static native void nativeInitApplicationContext(Context context); |
38 private static native int nativeStart(); | 38 private static native void nativeStart(); |
39 }; | 39 }; |
OLD | NEW |