diff options
author | jdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-20 03:01:07 +0000 |
---|---|---|
committer | jdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-20 03:01:07 +0000 |
commit | b873bc8b51dbee1193f3e6b48db0d08a86e3badc (patch) | |
tree | 4e5ef2799807c547deb9af271b3af6b5a77fb635 /android_webview/test | |
parent | ccb962dfd9abe9fe9c990372a56e04cc9aa8ddb8 (diff) | |
download | chromium_src-b873bc8b51dbee1193f3e6b48db0d08a86e3badc.zip chromium_src-b873bc8b51dbee1193f3e6b48db0d08a86e3badc.tar.gz chromium_src-b873bc8b51dbee1193f3e6b48db0d08a86e3badc.tar.bz2 |
[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
Diffstat (limited to 'android_webview/test')
-rw-r--r-- | android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java | 5 |
1 files changed, 3 insertions, 2 deletions
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."); |