| Index: content/public/android/java/org/chromium/content/common/CommandLine.java
|
| diff --git a/content/public/android/java/org/chromium/content/browser/CommandLine.java b/content/public/android/java/org/chromium/content/common/CommandLine.java
|
| similarity index 99%
|
| rename from content/public/android/java/org/chromium/content/browser/CommandLine.java
|
| rename to content/public/android/java/org/chromium/content/common/CommandLine.java
|
| index ae10a7a36e19efcd6eb6fdcdc3bfbdcf5e5b8b08..805d2c4c0b0060a55a692c419423f59dbe20f133 100644
|
| --- a/content/public/android/java/org/chromium/content/browser/CommandLine.java
|
| +++ b/content/public/android/java/org/chromium/content/common/CommandLine.java
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -package org.chromium.content.browser;
|
| +package org.chromium.content.common;
|
|
|
| import android.util.Log;
|
|
|
| @@ -191,14 +191,14 @@ public abstract class CommandLine {
|
| private static final String SWITCH_TERMINATOR = SWITCH_PREFIX;
|
| private static final String SWITCH_VALUE_SEPARATOR = "=";
|
|
|
| - static void enableNativeProxy() {
|
| + public static void enableNativeProxy() {
|
| // Make a best-effort to ensure we make a clean (atomic) switch over from the old to
|
| // the new command line implementation. If another thread is modifying the command line
|
| // when this happens, all bets are off. (As per the native CommandLine).
|
| sCommandLine.set(new NativeCommandLine());
|
| }
|
|
|
| - static String[] getJavaSwitchesOrNull() {
|
| + public static String[] getJavaSwitchesOrNull() {
|
| CommandLine commandLine = sCommandLine.get();
|
| if (commandLine != null) {
|
| assert !commandLine.isNativeImplementation();
|
|
|