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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java

Issue 2765453004: Moving FileDescriptorInfo from content/ to base/. (Closed)
Patch Set: Synced. Created 3 years, 9 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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.browser; 5 package org.chromium.content.browser;
6 6
7 import android.content.ComponentName; 7 import android.content.ComponentName;
8 import android.content.Context; 8 import android.content.Context;
9 import android.content.pm.ApplicationInfo; 9 import android.content.pm.ApplicationInfo;
10 import android.content.pm.PackageManager; 10 import android.content.pm.PackageManager;
11 import android.os.AsyncTask; 11 import android.os.AsyncTask;
12 import android.os.Bundle; 12 import android.os.Bundle;
13 import android.os.ParcelFileDescriptor; 13 import android.os.ParcelFileDescriptor;
14 import android.os.RemoteException; 14 import android.os.RemoteException;
15 import android.text.TextUtils; 15 import android.text.TextUtils;
16 import android.view.Surface; 16 import android.view.Surface;
17 17
18 import org.chromium.base.CommandLine; 18 import org.chromium.base.CommandLine;
19 import org.chromium.base.CpuFeatures; 19 import org.chromium.base.CpuFeatures;
20 import org.chromium.base.Log; 20 import org.chromium.base.Log;
21 import org.chromium.base.ThreadUtils; 21 import org.chromium.base.ThreadUtils;
22 import org.chromium.base.TraceEvent; 22 import org.chromium.base.TraceEvent;
23 import org.chromium.base.UnguessableToken; 23 import org.chromium.base.UnguessableToken;
24 import org.chromium.base.VisibleForTesting; 24 import org.chromium.base.VisibleForTesting;
25 import org.chromium.base.annotations.CalledByNative; 25 import org.chromium.base.annotations.CalledByNative;
26 import org.chromium.base.annotations.JNINamespace; 26 import org.chromium.base.annotations.JNINamespace;
27 import org.chromium.base.library_loader.Linker; 27 import org.chromium.base.library_loader.Linker;
28 import org.chromium.base.process_launcher.ChildProcessCreationParams; 28 import org.chromium.base.process_launcher.ChildProcessCreationParams;
29 import org.chromium.base.process_launcher.FileDescriptorInfo;
29 import org.chromium.content.app.ChromiumLinkerParams; 30 import org.chromium.content.app.ChromiumLinkerParams;
30 import org.chromium.content.app.PrivilegedProcessService; 31 import org.chromium.content.app.PrivilegedProcessService;
31 import org.chromium.content.app.SandboxedProcessService; 32 import org.chromium.content.app.SandboxedProcessService;
32 import org.chromium.content.common.ContentSwitches; 33 import org.chromium.content.common.ContentSwitches;
33 import org.chromium.content.common.FileDescriptorInfo;
34 import org.chromium.content.common.IChildProcessCallback; 34 import org.chromium.content.common.IChildProcessCallback;
35 import org.chromium.content.common.SurfaceWrapper; 35 import org.chromium.content.common.SurfaceWrapper;
36 36
37 import java.io.IOException; 37 import java.io.IOException;
38 import java.util.ArrayList; 38 import java.util.ArrayList;
39 import java.util.LinkedList; 39 import java.util.LinkedList;
40 import java.util.Map; 40 import java.util.Map;
41 import java.util.Queue; 41 import java.util.Queue;
42 import java.util.concurrent.ConcurrentHashMap; 42 import java.util.concurrent.ConcurrentHashMap;
43 43
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after
967 967
968 return true; 968 return true;
969 } 969 }
970 970
971 private static native void nativeOnChildProcessStarted(long clientContext, i nt pid); 971 private static native void nativeOnChildProcessStarted(long clientContext, i nt pid);
972 private static native void nativeCompleteScopedSurfaceRequest( 972 private static native void nativeCompleteScopedSurfaceRequest(
973 UnguessableToken requestToken, Surface surface); 973 UnguessableToken requestToken, Surface surface);
974 private static native boolean nativeIsSingleProcess(); 974 private static native boolean nativeIsSingleProcess();
975 private static native Surface nativeGetViewSurface(int surfaceId); 975 private static native Surface nativeGetViewSurface(int surfaceId);
976 } 976 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698