| OLD | NEW |
| (Empty) |
| 1 #!/bin/bash | |
| 2 # | |
| 3 # Copyright 2015 The Chromium Authors. All rights reserved. | |
| 4 # Use of this source code is governed by a BSD-style license that can be | |
| 5 # found in the LICENSE file. | |
| 6 | |
| 7 # If no flags are given, prints the current Chrome flags. | |
| 8 # | |
| 9 # Otherwise, the given flags are used to REPLACE (not modify) the Chrome | |
| 10 # flags. For example: | |
| 11 # adb_chrome_public_command_line --enable-webgl | |
| 12 # | |
| 13 # To remove all Chrome flags, pass an empty string for the flags: | |
| 14 # adb_chrome_public_command_line "" | |
| 15 | |
| 16 . $(dirname $0)/adb_command_line_functions.sh | |
| 17 CMD_LINE_FILE=/data/local/chrome-command-line | |
| 18 REQUIRES_SU=1 | |
| 19 set_command_line "$@" | |
| OLD | NEW |