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

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

Issue 2705133002: android: Allow registering multiple CreationParams (Closed)
Patch Set: explode loudly if param not found 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.os.Bundle; 7 import android.os.Bundle;
8 8
9 import org.chromium.content.common.FileDescriptorInfo; 9 import org.chromium.content.common.FileDescriptorInfo;
10 import org.chromium.content.common.IChildProcessCallback; 10 import org.chromium.content.common.IChildProcessCallback;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 */ 54 */
55 void onConnected(int pid); 55 void onConnected(int pid);
56 } 56 }
57 57
58 int getServiceNumber(); 58 int getServiceNumber();
59 59
60 boolean isInSandbox(); 60 boolean isInSandbox();
61 61
62 String getPackageName(); 62 String getPackageName();
63 63
64 ChildProcessCreationParams getCreationParams();
65
64 IChildProcessService getService(); 66 IChildProcessService getService();
65 67
66 /** 68 /**
67 * @return the connection pid, or 0 if not yet connected 69 * @return the connection pid, or 0 if not yet connected
68 */ 70 */
69 int getPid(); 71 int getPid();
70 72
71 /** 73 /**
72 * Starts a connection to an IChildProcessService. This must be followed by a call to 74 * Starts a connection to an IChildProcessService. This must be followed by a call to
73 * setupConnection() to setup the connection parameters. start() and setupCo nnection() are 75 * setupConnection() to setup the connection parameters. start() and setupCo nnection() are
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 void addModerateBinding(); 145 void addModerateBinding();
144 146
145 /** 147 /**
146 * Called when the service is no longer in moderate use of the consumer. 148 * Called when the service is no longer in moderate use of the consumer.
147 */ 149 */
148 void removeModerateBinding(); 150 void removeModerateBinding();
149 151
150 /** @return true iff the moderate oom binding is currently bound. */ 152 /** @return true iff the moderate oom binding is currently bound. */
151 boolean isModerateBindingBound(); 153 boolean isModerateBindingBound();
152 } 154 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698