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

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

Issue 2818643002: Support ChildProcessAllocatorSettings in JUnit4 tests (Closed)
Patch Set: rebase Created 3 years, 8 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/ChildConnectionAllocator.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ChildConnectionAllocator.java b/content/public/android/java/src/org/chromium/content/browser/ChildConnectionAllocator.java
index 56230dda2078ccb330c5718391e25141d9819937..43c03676d76457c78e2ae155bebffc9f627ee3ce 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ChildConnectionAllocator.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ChildConnectionAllocator.java
@@ -145,7 +145,7 @@ public class ChildConnectionAllocator {
-1);
}
} catch (PackageManager.NameNotFoundException e) {
- throw new RuntimeException("Could not get application info");
+ throw new RuntimeException("Could not get application info", e);
}
}
if (numServices < 0) {
@@ -155,7 +155,7 @@ public class ChildConnectionAllocator {
}
@VisibleForTesting
- public static void setSanboxServicesSettingsForTesting(int serviceCount, String serviceName) {
+ public static void setSandboxServicesSettingsForTesting(int serviceCount, String serviceName) {
sSandboxedServicesCountForTesting = serviceCount;
sSandboxedServicesNameForTesting = serviceName;
}

Powered by Google App Engine
This is Rietveld 408576698