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

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

Issue 2762773002: Remove the linker parameter from ChildProcessConnection. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
8
9 import org.chromium.base.process_launcher.ChildProcessCreationParams; 7 import org.chromium.base.process_launcher.ChildProcessCreationParams;
10 import org.chromium.content.common.FileDescriptorInfo; 8 import org.chromium.content.common.FileDescriptorInfo;
11 import org.chromium.content.common.IChildProcessCallback; 9 import org.chromium.content.common.IChildProcessCallback;
12 import org.chromium.content.common.IChildProcessService; 10 import org.chromium.content.common.IChildProcessService;
13 11
14 /** 12 /**
15 * Manages a connection between the browser activity and a child service. ChildP rocessConnection is 13 * Manages a connection between the browser activity and a child service. ChildP rocessConnection is
16 * responsible for estabilishing the connection (start()), closing it (stop()) a nd manipulating the 14 * responsible for estabilishing the connection (start()), closing it (stop()) a nd manipulating the
17 * bindings held onto the service (addStrongBinding(), removeStrongBinding(), 15 * bindings held onto the service (addStrongBinding(), removeStrongBinding(),
18 * removeInitialBinding()). 16 * removeInitialBinding()).
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void start(StartCallback startCallback); 79 void start(StartCallback startCallback);
82 80
83 /** 81 /**
84 * Setups the connection after it was started with start(). 82 * Setups the connection after it was started with start().
85 * @param commandLine (optional) will be ignored if the command line was alr eady sent in start() 83 * @param commandLine (optional) will be ignored if the command line was alr eady sent in start()
86 * @param filesToBeMapped a list of file descriptors that should be register ed 84 * @param filesToBeMapped a list of file descriptors that should be register ed
87 * @param processCallback used for status updates regarding this process con nection 85 * @param processCallback used for status updates regarding this process con nection
88 * @param connectionCallback will be called exactly once after the connectio n is set up or the 86 * @param connectionCallback will be called exactly once after the connectio n is set up or the
89 * setup fails 87 * setup fails
90 */ 88 */
91 void setupConnection( 89 void setupConnection(String[] commandLine, FileDescriptorInfo[] filesToBeMap ped,
92 String[] commandLine, 90 IChildProcessCallback processCallback, ConnectionCallback connection Callback);
93 FileDescriptorInfo[] filesToBeMapped,
94 IChildProcessCallback processCallback,
95 ConnectionCallback connectionCallback,
96 Bundle sharedRelros);
97 91
98 /** 92 /**
99 * Terminates the connection to IChildProcessService, closing all bindings. It is safe to call 93 * Terminates the connection to IChildProcessService, closing all bindings. It is safe to call
100 * this multiple times. 94 * this multiple times.
101 */ 95 */
102 void stop(); 96 void stop();
103 97
104 /** @return true iff the initial oom binding is currently bound. */ 98 /** @return true iff the initial oom binding is currently bound. */
105 boolean isInitialBindingBound(); 99 boolean isInitialBindingBound();
106 100
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 void addModerateBinding(); 140 void addModerateBinding();
147 141
148 /** 142 /**
149 * Called when the service is no longer in moderate use of the consumer. 143 * Called when the service is no longer in moderate use of the consumer.
150 */ 144 */
151 void removeModerateBinding(); 145 void removeModerateBinding();
152 146
153 /** @return true iff the moderate oom binding is currently bound. */ 147 /** @return true iff the moderate oom binding is currently bound. */
154 boolean isModerateBindingBound(); 148 boolean isModerateBindingBound();
155 } 149 }
OLDNEW
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698