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

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

Issue 2017963003: Upstream: ChildProcessLauncher connects renderer processes of WebAPKs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove PROCESS_WEBAPK_CHILD. Created 4 years, 6 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.os.Bundle; 7 import android.os.Bundle;
8 8
9 import org.chromium.content.common.IChildProcessCallback; 9 import org.chromium.content.common.IChildProcessCallback;
10 import org.chromium.content.common.IChildProcessService; 10 import org.chromium.content.common.IChildProcessService;
(...skipping 22 matching lines...) Expand all
33 * Called when the connection to the service is established. 33 * Called when the connection to the service is established.
34 * @param pid the pid of the child process 34 * @param pid the pid of the child process
35 */ 35 */
36 void onConnected(int pid); 36 void onConnected(int pid);
37 } 37 }
38 38
39 int getServiceNumber(); 39 int getServiceNumber();
40 40
41 boolean isInSandbox(); 41 boolean isInSandbox();
42 42
43 String getPackageName();
44
43 IChildProcessService getService(); 45 IChildProcessService getService();
44 46
45 /** 47 /**
46 * @return the connection pid, or 0 if not yet connected 48 * @return the connection pid, or 0 if not yet connected
47 */ 49 */
48 int getPid(); 50 int getPid();
49 51
50 /** 52 /**
51 * Starts a connection to an IChildProcessService. This must be followed by a call to 53 * Starts a connection to an IChildProcessService. This must be followed by a call to
52 * setupConnection() to setup the connection parameters. start() and setupCo nnection() are 54 * setupConnection() to setup the connection parameters. start() and setupCo nnection() are
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 void addModerateBinding(); 125 void addModerateBinding();
124 126
125 /** 127 /**
126 * Called when the service is no longer in moderate use of the consumer. 128 * Called when the service is no longer in moderate use of the consumer.
127 */ 129 */
128 void removeModerateBinding(); 130 void removeModerateBinding();
129 131
130 /** @return true iff the moderate oom binding is currently bound. */ 132 /** @return true iff the moderate oom binding is currently bound. */
131 boolean isModerateBindingBound(); 133 boolean isModerateBindingBound();
132 } 134 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698