Index: content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java b/content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java |
index c1cd1caead5bb77e75a72f4187a82b7abc23635d..761f56f769abc035075fc42aa95b455ffcdd409c 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java |
@@ -942,7 +942,7 @@ public class ChildProcessLauncher { |
} |
@VisibleForTesting |
- static ChildProcessConnection allocateBoundConnectionForTesting(Context context, |
+ public static ChildProcessConnection allocateBoundConnectionForTesting(Context context, |
no sievers
2016/06/23 17:20:15
Can we maybe expose this through the test helper i
Xi Han
2016/06/23 18:47:04
We could, but we have to declare the private alloc
no sievers
2016/06/23 20:19:32
But CPLTestHelper is in the same package.
On seco
|
ChildProcessCreationParams creationParams) { |
return allocateBoundConnection(context, null, true, false, creationParams); |
} |
@@ -969,7 +969,8 @@ public class ChildProcessLauncher { |
* allocator. |
*/ |
@VisibleForTesting |
- static int allocatedSandboxedConnectionsCountForTesting(Context context, String packageName) { |
+ public static int allocatedSandboxedConnectionsCountForTesting(Context context, |
+ String packageName) { |
initConnectionAllocatorsIfNecessary(context, true, packageName); |
return sSandboxedChildConnectionAllocatorMap.get(packageName) |
.allocatedConnectionsCountForTesting(); |