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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java

Issue 2076583002: Add WebAPK's tests in ChildProcessLauncherTest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move ChildProcessLaucherTest back to content. Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
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,
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();

Powered by Google App Engine
This is Rietveld 408576698