Index: content/public/android/java/src/org/chromium/content/common/IChildProcessService.aidl |
diff --git a/content/public/android/java/src/org/chromium/content/common/IChildProcessService.aidl b/content/public/android/java/src/org/chromium/content/common/IChildProcessService.aidl |
index dffe3adc4b19851534957cac5c23c95cb29190a0..1f5ec5c38ebbb173e6f2fcdaff60bc02d00b1389 100644 |
--- a/content/public/android/java/src/org/chromium/content/common/IChildProcessService.aidl |
+++ b/content/public/android/java/src/org/chromium/content/common/IChildProcessService.aidl |
@@ -10,6 +10,11 @@ import android.view.Surface; |
import android.os.Bundle; |
interface IChildProcessService { |
+ // On the first call to this method, the service will record the calling PID |
+ // and return true. Subsequent calls will only return true if the calling PID |
+ // is the same as the recorded one. |
+ boolean bindToCaller(); |
+ |
// Sets up the initial IPC channel and returns the pid of the child process. |
int setupConnection(in Bundle args, IChildProcessCallback callback); |