| OLD | NEW |
| 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 no flags are given, prints the current content shell flags. | 7 # If no flags are given, prints the current content shell flags. |
| 8 # | 8 # |
| 9 # Otherwise, the given flags are used to REPLACE (not modify) the content shell | 9 # Otherwise, the given flags are used to REPLACE (not modify) the content shell |
| 10 # flags. For example: | 10 # flags. For example: |
| 11 # adb_content_shell_command_line --enable-webgl | 11 # adb_content_shell_command_line --enable-webgl |
| 12 # | 12 # |
| 13 # To remove all content shell flags, pass an empty string for the flags: | 13 # To remove all content shell flags, pass an empty string for the flags: |
| 14 # adb_content_shell_command_line "" | 14 # adb_content_shell_command_line "" |
| 15 | 15 |
| 16 . $(dirname $0)/adb_command_line_functions.sh | 16 exec $(dirname $0)/adb_command_line.py --device-path \ |
| 17 CMD_LINE_FILE=/data/local/tmp/content-shell-command-line | 17 /data/local/tmp/content-shell-command-line "$@" |
| 18 REQUIRES_SU=0 | |
| 19 set_command_line "$@" | |
| 20 | |
| OLD | NEW |