From b873bc8b51dbee1193f3e6b48db0d08a86e3badc Mon Sep 17 00:00:00 2001 From: "jdduke@chromium.org" Date: Wed, 20 Nov 2013 03:01:07 +0000 Subject: [Android] Move CommandLine.java to base The native CommandLine lives in base, and so too should the Java wrapper. Move CommandLine.java to base, updating all references and factoring out previously contained switches to BaseSwitches and ContentSwitches. BUG=320747 TBR=ajwong@chromium.org Review URL: https://codereview.chromium.org/62333025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236113 0039d316-1c4b-4281-b951-d872f2087c98 --- .../src/org/chromium/android_webview/shell/AwShellApplication.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'android_webview/test') diff --git a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java index 29b0c44..2faa2e4 100644 --- a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java +++ b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java @@ -9,9 +9,10 @@ import android.content.Context; import android.os.Debug; import android.util.Log; +import org.chromium.base.BaseSwitches; +import org.chromium.base.CommandLine; import org.chromium.android_webview.AwBrowserProcess; import org.chromium.content.browser.ResourceExtractor; -import org.chromium.content.common.CommandLine; public class AwShellApplication extends Application { @@ -29,7 +30,7 @@ public class AwShellApplication extends Application { CommandLine.initFromFile("/data/local/tmp/android-webview-command-line"); - if (CommandLine.getInstance().hasSwitch(CommandLine.WAIT_FOR_JAVA_DEBUGGER)) { + if (CommandLine.getInstance().hasSwitch(BaseSwitches.WAIT_FOR_JAVA_DEBUGGER)) { Log.e(TAG, "Waiting for Java debugger to connect..."); Debug.waitForDebugger(); Log.e(TAG, "Java debugger connected. Resuming execution."); -- cgit v1.1