Index: base/android/java/src/org/chromium/base/CommandLine.java |
diff --git a/base/android/java/src/org/chromium/base/CommandLine.java b/base/android/java/src/org/chromium/base/CommandLine.java |
index 406f36b0698e5a9f1bca5acc437b7127e9938ce2..43e000428bf35ed84ac77e37a3266283d4930445 100644 |
--- a/base/android/java/src/org/chromium/base/CommandLine.java |
+++ b/base/android/java/src/org/chromium/base/CommandLine.java |
@@ -31,6 +31,7 @@ public abstract class CommandLine { |
* Returns true if this command line contains the given switch. |
* (Switch names ARE case-sensitive). |
*/ |
+ @VisibleForTesting |
public abstract boolean hasSwitch(String switchString); |
/** |
@@ -57,6 +58,7 @@ public abstract class CommandLine { |
* this action happens before the switch is needed. |
* @param switchString the switch to add. It should NOT start with '--' ! |
*/ |
+ @VisibleForTesting |
public abstract void appendSwitch(String switchString); |
/** |
@@ -96,6 +98,7 @@ public abstract class CommandLine { |
} |
// Equivalent to CommandLine::ForCurrentProcess in C++. |
+ @VisibleForTesting |
public static CommandLine getInstance() { |
CommandLine commandLine = sCommandLine.get(); |
assert commandLine != null; |