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

Side by Side Diff: build/android/adb_run_content_shell

Issue 662683006: Don't quote the URL in intents sent by adb_run_*_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « build/android/adb_run_chrome_shell ('k') | build/android/adb_run_mojo_shell » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 if [ $# -gt 0 ] ; then 7 optional_url=$1
8 INTENT_ARGS="-d \"$1\"" # e.g. a URL
9 fi
10 8
11 adb shell am start \ 9 adb shell am start \
12 -a android.intent.action.VIEW \ 10 -a android.intent.action.VIEW \
13 -n org.chromium.content_shell_apk/.ContentShellActivity \ 11 -n org.chromium.content_shell_apk/.ContentShellActivity \
14 $INTENT_ARGS 12 ${optional_url:+-d "$optional_url"}
OLDNEW
« no previous file with comments | « build/android/adb_run_chrome_shell ('k') | build/android/adb_run_mojo_shell » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698