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

Unified Diff: content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java

Issue 2473833004: Fix bug: "WebAPKs don't get past splash screen with release Chrome". (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java
diff --git a/content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java b/content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java
index 75abcd9f029c3d92f1612d4017384a7437d8a7db..73e607642ae5ea697615dfa68298623a99834d56 100644
--- a/content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java
+++ b/content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java
@@ -24,6 +24,7 @@ import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace;
import org.chromium.base.annotations.MainDex;
import org.chromium.base.annotations.SuppressFBWarnings;
+import org.chromium.base.annotations.UsedByReflection;
import org.chromium.base.library_loader.LibraryLoader;
import org.chromium.base.library_loader.Linker;
import org.chromium.base.library_loader.ProcessInitException;
@@ -47,6 +48,7 @@ import java.util.concurrent.atomic.AtomicReference;
@JNINamespace("content")
@SuppressWarnings("SynchronizeOnNonFinalField")
@MainDex
+@UsedByReflection("WebApkSandboxedProcessService")
public class ChildProcessServiceImpl {
private static final String MAIN_THREAD_NAME = "ChildProcessMain";
private static final String TAG = "ChildProcessService";
@@ -133,6 +135,7 @@ public class ChildProcessServiceImpl {
* @param context The application context.
* @param hostContext The host context the library should be loaded with (i.e. Chrome).
*/
+ @UsedByReflection("WebApkSandboxedProcessService")
public void create(final Context context, final Context hostContext) {
mHostClassLoader = hostContext.getClassLoader();
Log.i(TAG, "Creating new ChildProcessService pid=%d", Process.myPid());
@@ -271,6 +274,7 @@ public class ChildProcessServiceImpl {
* is thrown when an application with a uid other than
* {@link authorizedCallerUid} calls the service's methods.
*/
+ @UsedByReflection("WebApkSandboxedProcessService")
public IBinder bind(Intent intent, int authorizedCallerUid) {
mAuthorizedCallerUid = authorizedCallerUid;
initializeParams(intent);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698