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

Side by Side Diff: content/public/android/java/src/org/chromium/content/app/ContentMain.java

Issue 22691002: Allow overlapping sync and async startup requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Allow multiple overlapping startup requests - update to merge with nyquist@'s patch Created 7 years, 4 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 unified diff | Download patch
OLDNEW
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698