Index: content/public/android/java/org/chromium/content/common/ISandboxedProcessService.aidl |
diff --git a/content/public/android/java/org/chromium/content/common/ISandboxedProcessService.aidl b/content/public/android/java/org/chromium/content/common/ISandboxedProcessService.aidl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b8f7da390b8e25f6b908d28298e4f4c8d4d1eb4a |
--- /dev/null |
+++ b/content/public/android/java/org/chromium/content/common/ISandboxedProcessService.aidl |
@@ -0,0 +1,18 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package org.chromium.content.common; |
+ |
+import org.chromium.content.common.ISandboxedProcessCallback; |
+ |
+import android.view.Surface; |
+import android.os.Bundle; |
+ |
+interface ISandboxedProcessService { |
+ // Sets up the initial IPC channel and returns the pid of the sandboxed process. |
+ int setupConnection(in Bundle args, ISandboxedProcessCallback callback); |
+ |
+ // Shares the Surface with the sandboxed process. |
+ void setSurface(int type, in Surface surface, int primaryID, int secondaryID); |
+} |