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

Unified Diff: build/android/adb_kill_android_webview_shell

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: build/android/adb_kill_android_webview_shell
diff --git a/build/android/adb_kill_chrome_shell b/build/android/adb_kill_android_webview_shell
similarity index 59%
copy from build/android/adb_kill_chrome_shell
copy to build/android/adb_kill_android_webview_shell
index 2b63c9af3d24af629ab42222fdbf885bdd4cd433..5f287f0826642b4c61fbd1c319a01ee8e09d7f75 100755
--- a/build/android/adb_kill_chrome_shell
+++ b/build/android/adb_kill_android_webview_shell
@@ -1,17 +1,17 @@
#!/bin/bash
#
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
-# Kill a running chrome shell.
+# Kill a running android webview shell.
#
# Assumes you have sourced the build/android/envsetup.sh script.
-SHELL_PID_LINES=$(adb shell ps | grep ' org.chromium.chrome.shell')
+SHELL_PID_LINES=$(adb shell ps | grep ' org.chromium.android_webview.shell')
VAL=$(echo "$SHELL_PID_LINES" | wc -l)
if [ $VAL -lt 1 ] ; then
- echo "Not running Chrome shell."
+ echo "Not running android webview shell."
else
SHELL_PID=$(echo $SHELL_PID_LINES | awk '{print $2}')
if [ "$SHELL_PID" != "" ] ; then
@@ -19,6 +19,6 @@ else
adb shell kill $SHELL_PID
set -
else
- echo "Chrome shell does not appear to be running."
+ echo "Android webview shell does not appear to be running."
fi
fi

Powered by Google App Engine
This is Rietveld 408576698