| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.chrome; | 5 package org.chromium.chrome; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * Contains all of the command line switches that are specific to the chrome/ | 8 * Contains all of the command line switches that are specific to the chrome/ |
| 9 * portion of Chromium on Android. | 9 * portion of Chromium on Android. |
| 10 */ | 10 */ |
| 11 public abstract class ChromeSwitches { | 11 public abstract class ChromeSwitches { |
| 12 // Switches used from Java. Please continue switch style used Chrome where | 12 // Switches used from Java. Please continue switch style used Chrome where |
| 13 // options-have-hypens and are_not_split_with_underscores. | 13 // options-have-hypens and are_not_split_with_underscores. |
| 14 | 14 |
| 15 /** Testing: pretend that the switch value is the name of a child account. *
/ |
| 16 public static final String CHILD_ACCOUNT = "child-account"; |
| 17 |
| 15 // Disables the new Website Settings dialog, which replaces the old one. | 18 // Disables the new Website Settings dialog, which replaces the old one. |
| 16 // TODO(sashab): Once the new WebsiteSettingsPopup is ready to be permanent, | 19 // TODO(sashab): Once the new WebsiteSettingsPopup is ready to be permanent, |
| 17 // remove this flag and delete WebsiteSettingsLegacyPopup and all it's | 20 // remove this flag and delete WebsiteSettingsLegacyPopup and all it's |
| 18 // dependencies. | 21 // dependencies. |
| 19 public static final String DISABLE_NEW_WEBSITE_SETTINGS = "disable-new-websi
te-settings"; | 22 public static final String DISABLE_NEW_WEBSITE_SETTINGS = "disable-new-websi
te-settings"; |
| 20 | 23 |
| 21 /** Mimic a low end device */ | 24 /** Mimic a low end device */ |
| 22 public static final String ENABLE_ACCESSIBILITY_TAB_SWITCHER = | 25 public static final String ENABLE_ACCESSIBILITY_TAB_SWITCHER = |
| 23 "enable-accessibility-tab-switcher"; | 26 "enable-accessibility-tab-switcher"; |
| 24 | 27 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 | 123 |
| 121 /** | 124 /** |
| 122 * Use sandbox Wallet environment for requestAutocomplete. | 125 * Use sandbox Wallet environment for requestAutocomplete. |
| 123 * Native switch - autofill::switches::kWalletServiceUseSandbox. | 126 * Native switch - autofill::switches::kWalletServiceUseSandbox. |
| 124 */ | 127 */ |
| 125 public static final String USE_SANDBOX_WALLET_ENVIRONMENT = "wallet-service-
use-sandbox"; | 128 public static final String USE_SANDBOX_WALLET_ENVIRONMENT = "wallet-service-
use-sandbox"; |
| 126 | 129 |
| 127 // Prevent instantiation. | 130 // Prevent instantiation. |
| 128 private ChromeSwitches() {} | 131 private ChromeSwitches() {} |
| 129 } | 132 } |
| OLD | NEW |