0

Move //chromeos/constants to //ash/constants

Moving the actual target was the only thing left to do.

This CL is part of the Chrome OS source code directory migration:
https://docs.google.com/document/d/1g-98HpzA8XcoGBWUv1gQNr4rbnD5yfvbtYZyPDDbkaE.

No-Presubmit: true
Bug: 1164001
Change-Id: I7b9dfc39c236e41d28b27def6a14910dbe8f3834
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2666133
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Reviewed-by: James Cook <jamescook@chromium.org>
Owners-Override: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851442}
This commit is contained in:
Henrique Ferreiro
2021-02-06 07:13:56 +00:00
committed by Chromium LUCI CQ
parent c1906d6c65
commit adddf4b16d
90 changed files with 513 additions and 547 deletions
ash
chrome
BUILD.gn
app
browser
BUILD.gn
chromeos
BUILD.gn
power
ml
smart_dim
extensions
profiles
ui
web_applications
common
renderer
chromeos
BUILD.gn
attestation
audio
components
camera_app_ui
connectivity_diagnostics
diagnostics_ui
drivefs
eche_app_ui
file_manager
help_app_ui
media_app_ui
multidevice
BUILD.gn
debug_webui
print_management
proximity_auth
quick_answers
sample_system_web_app_ui
scanning
telemetry_extension_ui
tether
web_applications
constants
disks
login
auth
login_state
session
memory
BUILD.gn
userspace_swap
network
services
assistant
device_sync
ime
multidevice_setup
secure_channel
settings
system
components
arc
browser_sync
exo
sync
sync_device_info
sync_preferences
user_manager
content/browser
device
docs
extensions/shell
media/capture
ui
accessibility
extensions
chromevoxclassic
base
ime
chromeos
chromeos
display

@ -1799,6 +1799,7 @@ component("ash") {
"//ash/assistant/ui",
"//ash/assistant/ui:constants",
"//ash/assistant/util",
"//ash/constants",
"//ash/keyboard/ui",
"//ash/login/resources:resources_grit",
"//ash/services/recording",
@ -1819,7 +1820,6 @@ component("ash") {
"//chromeos/components/quick_answers",
"//chromeos/components/quick_answers/public/cpp:prefs",
"//chromeos/components/sensors:buildflags",
"//chromeos/constants",
"//chromeos/dbus",
"//chromeos/dbus/audio",
"//chromeos/dbus/constants",
@ -2423,6 +2423,7 @@ test("ash_unittests") {
"//ash/assistant/ui/test_support",
"//ash/assistant/util",
"//ash/components:unit_tests",
"//ash/constants",
"//ash/keyboard/ui",
"//ash/keyboard/ui:test_support",
"//ash/public/cpp",
@ -2442,7 +2443,6 @@ test("ash_unittests") {
"//chromeos/audio",
"//chromeos/components/phonehub:test_support",
"//chromeos/components/quick_answers:quick_answers",
"//chromeos/constants",
"//chromeos/dbus:test_support",
"//chromeos/dbus/audio",
"//chromeos/dbus/hammerd",
@ -2774,6 +2774,7 @@ static_library("test_support") {
"//ash/app_menu",
"//ash/assistant/model:model",
"//ash/assistant/ui:ui",
"//ash/constants",
"//ash/keyboard/ui",
"//ash/keyboard/ui:test_support",
"//ash/public/cpp",
@ -2784,7 +2785,6 @@ static_library("test_support") {
"//base/test:test_support",
"//cc:test_support",
"//chromeos/audio",
"//chromeos/constants",
"//chromeos/dbus:test_support",
"//chromeos/dbus/audio",
"//chromeos/dbus/power",

@ -232,6 +232,7 @@ test("app_list_unittests") {
deps = [
":app_list",
":test_support",
"//ash/constants",
"//ash/keyboard/ui",
"//ash/public/cpp",
"//ash/public/cpp:test_support",
@ -239,7 +240,6 @@ test("app_list_unittests") {
"//ash/search_box",
"//base",
"//base/test:test_support",
"//chromeos/constants",
"//chromeos/services/assistant/public/cpp",
"//mojo/core/embedder",
"//mojo/public/cpp/bindings",

@ -26,10 +26,10 @@ component("util") {
deps = [
"//ash/assistant/model",
"//ash/constants",
"//ash/public/cpp",
"//base",
"//base:i18n",
"//chromeos/constants",
"//chromeos/services/assistant/public/cpp",
"//chromeos/services/assistant/public/mojom",
"//chromeos/ui/vector_icons",

@ -25,8 +25,8 @@ component("account_manager") {
]
deps = [
"//ash/constants",
"//base",
"//chromeos/constants",
"//chromeos/crosapi/mojom",
"//components/prefs:prefs",
"//google_apis",

30
ash/constants/BUILD.gn Normal file

@ -0,0 +1,30 @@
# Copyright 2019 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.
import("//build/config/chromeos/ui_mode.gni")
assert(is_chromeos_ash, "Non-Chrome-OS builds must not depend on //ash")
component("constants") {
output_name = "ash_constants"
defines = [ "IS_ASH_CONSTANTS_IMPL" ]
deps = [
"//base",
"//build:branding_buildflags",
]
sources = [
"ash_constants.cc",
"ash_constants.h",
"ash_features.cc",
"ash_features.h",
"ash_paths.cc",
"ash_paths.h",
"ash_pref_names.cc",
"ash_pref_names.h",
"ash_switches.cc",
"ash_switches.h",
"devicetype.cc",
"devicetype.h",
]
}

@ -12,13 +12,13 @@
namespace chromeos {
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FilePath::CharType kDriveCacheDirname[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FilePath::CharType kNssCertDbPath[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FilePath::CharType kNssDirPath[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FilePath::CharType kNssKeyDbPath[];
} // namespace chromeos

@ -16,376 +16,376 @@ namespace features {
// alongside the definition of their values in the .cc file. If a feature is
// being rolled out via Finch, add a comment in the .cc file.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAccountManagementFlowsV2;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAllowRepeatedUpdates;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAllowScrollSettings;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAmbientModeFeature;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FeatureParam<bool> kAmbientModeCapturedOnPixelAlbumEnabled;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FeatureParam<bool> kAmbientModeFineArtAlbumEnabled;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FeatureParam<bool> kAmbientModeFeaturedPhotoAlbumEnabled;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FeatureParam<bool> kAmbientModeEarthAndSpaceAlbumEnabled;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FeatureParam<bool> kAmbientModeStreetArtAlbumEnabled;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FeatureParam<bool> kAmbientModeDefaultFeedEnabled;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FeatureParam<bool> kAmbientModePersonalPhotosEnabled;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FeatureParam<bool> kAmbientModeFeaturedPhotosEnabled;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FeatureParam<bool> kAmbientModeGeoPhotosEnabled;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FeatureParam<bool>
kAmbientModeCulturalInstitutePhotosEnabled;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FeatureParam<bool> kAmbientModeRssPhotosEnabled;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::FeatureParam<bool> kAmbientModeCapturedOnPixelPhotosEnabled;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAmbientModePhotoPreviewFeature;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAmbientModeDevUseProdFeature;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kArcAdbSideloadingFeature;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kArcManagedAdbSideloadingSupport;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kArcPreImeKeyEventSupport;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAutoScreenBrightness;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAssistAutoCorrect;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAssistMultiWord;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAssistPersonalInfo;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAssistPersonalInfoAddress;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAssistPersonalInfoEmail;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAssistPersonalInfoName;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAssistPersonalInfoPhoneNumber;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAvatarToolbarButton;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kBetterUpdateScreen;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kBluetoothAggressiveAppearanceFilter;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kBluetoothWbsDogfood;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kBluetoothFixA2dpPacketSize;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kBluetoothPhoneFilter;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kPreferConstantFrameRate;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCdmFactoryDaemon;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCellularUseAttachApn;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCellularUseExternalEuicc;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kChildSpecificSignin;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kConnectivityDiagnosticsWebUi;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCrostiniDiskResizing;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCrostiniUseBusterImage;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCrostiniGpuSupport;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCrostiniUseDlc;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCrostiniEnableDlc;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kDiagnosticsApp;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kDisableCryptAuthV1DeviceSync;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCryptAuthV2DeviceActivityStatus;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCryptAuthV2DeviceActivityStatusUseConnectivity;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kDisableIdleSocketsCloseOnMemoryPressure;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCrostiniWebUIUpgrader;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCryptAuthV2DeviceSync;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCryptAuthV2Enrollment;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kDisableOfficeEditingComponentApp;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kDisablePeripheralDataAccessProtection;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kDriveFs;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kDriveFs;
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kDriveFsBidirectionalNativeMessaging;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kDriveFsMirroring;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kEcheSWA;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kEcheSWA;
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kEmojiSuggestAddition;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kEnableHostnameSetting;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kEnableLocalSearchService;
extern const base::Feature kEnableOobeChromeVoxHint;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kEolWarningNotifications;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kExoOrdinalMotion;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kExoPointerLock;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kExoLockNotification;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kFamilyLinkOnSchoolDevice;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kFilesCameraFolder;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kFilesJsModules;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kFilesJsModules;
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kAudioPlayerJsModules;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kVideoPlayerJsModules;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kFilesNG;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kFilesNG;
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kFilesSinglePartitionFormat;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kFilesSWA;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kFilesTrash;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kFilesZipMount;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kFilesZipPack;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kFilesZipUnpack;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kMojoDBusRelay;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kFilesSWA;
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kFilesTrash;
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kFilesZipMount;
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kFilesZipPack;
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kFilesZipUnpack;
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kMojoDBusRelay;
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kClipboardHistory;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kClipboardHistoryNudgeSessionReset;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kClipboardHistoryContextMenuNudge;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kEnableFilesAppCopyImage;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kFsNosymfollow;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kFsNosymfollow;
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kHandwritingGestureEditing;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kGaiaReauthEndpoint;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kGamepadVibration;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kGesturePropertiesDBusService;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kHelpAppSearchServiceIntegration;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kImeMojoDecoder;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kImeOptionsInSettings;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kImeSystemEmojiPicker;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kImprovedKeyboardShortcuts;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kVirtualKeyboardFloatingDefault;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kInstantTethering;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kKerberosSettingsSection;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kLacrosSupport;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kLacrosSupport;
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kLanguageSettingsUpdate;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kLoginDeviceManagementDisclosure;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kMediaApp;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kMediaApp;
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kMediaAppAnnotation;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kMediaAppHandlesRaw;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kMediaAppPdfInInk;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kMinimumChromeVersion;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kMultilingualTyping;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kOnDeviceGrammarCheck;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kNewOobeLayout;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kOsSettingsDeepLinking;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kOsSettingsPolymer3;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kPhoneHub;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kPinSetupForFamilyLink;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kPluginVmShowCameraPermissions;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kPluginVmShowMicrophonePermissions;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kPrintJobManagementApp;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kPrintSaveToDrive;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kPrintServerScaling;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kPrinterStatus;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kPrinterStatusDialog;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kProjector;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kQuickAnswers;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kProjector;
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kQuickAnswers;
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kQuickAnswersDogfood;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kQuickAnswersRichUi;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kQuickAnswersTextAnnotator;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kQuickAnswersSubToggle;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kQuickAnswersTranslation;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kQuickAnswersTranslationCloudAPI;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kQuickAnswersOnEditableText;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kQuickUnlockPinAutosubmit;
// TODO(crbug.com/1104164) - Remove this once most
// users have their preferences backfilled.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kQuickUnlockPinAutosubmitBackfill;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kReleaseNotesNotification;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kReleaseNotesNotificationAllChannels;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kReleaseNotesSuggestionChip;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kFiltersInRecents;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const base::Feature kScanningUI;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const base::Feature kScanningUI;
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kSessionManagerLongKillTimeout;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kShowBluetoothDebugLogToggle;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kEnableBluetoothVerboseLogsForGooglers;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kShowBluetoothDeviceBattery;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kShowPlayInDemoMode;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kSmartDimExperimentalComponent;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kSmartDimNewMlAgent;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kSmartDimModelV3;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kSplitSettingsSync;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kSystemLatinPhysicalTyping;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kTelemetryExtension;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kUnifiedMediaView;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kUpdatedCellularActivationUi;
// Visible for testing. Call UseBrowserSyncConsent() to check the flag.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kUseBrowserSyncConsent;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kUseWallpaperStagingUrl;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kUseMessagesStagingUrl;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kUserActivityPrediction;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kUseSearchClickForRightClick;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kVirtualKeyboardBorderedKey;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kVmCameraMicIndicatorsAndNotifications;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kWallpaperWebUI;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kWifiSyncAndroid;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kImeMozcProto;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCrostiniResetLxdDb;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const base::Feature kCameraPrivacySwitchNotifications;
// Keep alphabetized.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsAccountManagementFlowsV2Enabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsAmbientModeEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsAmbientModePhotoPreviewEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsAmbientModeDevUseProdEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsAssistantEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsBetterUpdateEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsCellularActivationUiEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsChildSpecificSigninEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsDeepLinkingEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsDiagnosticsAppEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsEcheSWAEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsAccountManagementFlowsV2Enabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsAmbientModeEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsAmbientModePhotoPreviewEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsAmbientModeDevUseProdEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsAssistantEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsBetterUpdateEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsCellularActivationUiEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsChildSpecificSigninEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsDeepLinkingEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsDiagnosticsAppEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsEcheSWAEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS)
bool IsPeripheralDataAccessProtectionEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsHostnameSettingEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsFamilyLinkOnSchoolDeviceEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsGaiaReauthEndpointEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsImeSandboxEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsImprovedKeyboardShortcutsEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsHostnameSettingEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsFamilyLinkOnSchoolDeviceEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsGaiaReauthEndpointEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsImeSandboxEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsImprovedKeyboardShortcutsEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS)
bool IsInstantTetheringBackgroundAdvertisingSupported();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsKerberosSettingsSectionEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsKerberosSettingsSectionEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS)
bool IsLoginDeviceManagementDisclosureEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsMinimumChromeVersionEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsNewOobeLayoutEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsClipboardHistoryEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsMinimumChromeVersionEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsNewOobeLayoutEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsClipboardHistoryEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS)
bool IsClipboardHistoryNudgeSessionResetEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
bool IsClipboardHistoryContextMenuNudgeEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsOobeChromeVoxHintEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsOobeScreensPriorityEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsPhoneHubEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsPhoneHubUseBleEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsPinAutosubmitFeatureEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsPinSetupForFamilyLinkEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsOobeChromeVoxHintEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsOobeScreensPriorityEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsPhoneHubEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsPhoneHubUseBleEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsPinAutosubmitFeatureEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsPinSetupForFamilyLinkEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
bool IsPinAutosubmitBackfillFeatureEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsProjectorEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsQuickAnswersDogfood();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsQuickAnswersEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsQuickAnswersRichUiEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsQuickAnswersSettingToggleEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsProjectorEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsQuickAnswersDogfood();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsQuickAnswersEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsQuickAnswersRichUiEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsQuickAnswersSettingToggleEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS)
bool IsQuickAnswersTextAnnotatorEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsQuickAnswersTranslationEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsQuickAnswersTranslationEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS)
bool IsQuickAnswersTranslationCloudAPIEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsQuickAnswersOnEditableTextEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsSplitSettingsSyncEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsWallpaperWebUIEnabled();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsWifiSyncAndroidEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsQuickAnswersOnEditableTextEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsSplitSettingsSyncEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsWallpaperWebUIEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsWifiSyncAndroidEnabled();
// TODO(michaelpg): Remove after M71 branch to re-enable Play Store by default.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool ShouldShowPlayStoreInDemoMode();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool ShouldUseBrowserSyncConsent();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool ShouldUseV1DeviceSync();
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool ShouldUseV2DeviceSync();
COMPONENT_EXPORT(ASH_CONSTANTS) bool ShouldShowPlayStoreInDemoMode();
COMPONENT_EXPORT(ASH_CONSTANTS) bool ShouldUseBrowserSyncConsent();
COMPONENT_EXPORT(ASH_CONSTANTS) bool ShouldUseV1DeviceSync();
COMPONENT_EXPORT(ASH_CONSTANTS) bool ShouldUseV2DeviceSync();
// Keep alphabetized.

@ -62,12 +62,12 @@ enum {
};
// Call once to register the provider for the path keys defined above.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) void RegisterPathProvider();
COMPONENT_EXPORT(ASH_CONSTANTS) void RegisterPathProvider();
// Overrides some of the paths listed above so that those files can be used
// when not running on ChromeOS. The stubs files will be relative to
// |stubs_dir|. It is not valid to call this when running on ChromeOS.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
void RegisterStubPathOverrides(const base::FilePath& stubs_dir);
} // namespace chromeos

@ -10,59 +10,59 @@
namespace chromeos {
namespace prefs {
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kAssistiveInputFeatureSettings[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kAssistPersonalInfoEnabled[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kESimProfilesPrefName[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEmojiSuggestionEnabled[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEmojiSuggestionEnterpriseAllowed[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kAudioDevicesMute[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kAudioDevicesMute[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kAudioDevicesGainPercent[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kAudioDevicesVolumePercent[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kAudioMute[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kAudioOutputAllowed[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kAudioVolumePercent[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kAudioDevicesState[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kEduCoexistenceId[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kAudioMute[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kAudioOutputAllowed[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kAudioVolumePercent[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kAudioDevicesState[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kEduCoexistenceId[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEduCoexistenceSecondaryAccountsInvalidationVersion[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEduCoexistenceToSVersion[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEduCoexistenceToSAcceptedVersion[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kShouldSkipInlineLoginWelcomePage[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kQuirksClientLastServerCheck[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDeviceWiFiFastTransitionEnabled[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kSecondaryGoogleAccountSigninAllowed[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kSamlPasswordModifiedTime[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kSamlPasswordExpirationTime[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kSamlPasswordChangeUrl[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kSyncOobeCompleted[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kLoginDisplayPasswordButtonEnabled[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kSuggestedContentEnabled[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kLauncherResultEverLaunched[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kHasCameraAppMigratedToSWA[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kLauncherSearchNormalizerParameters[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDeviceSystemWideTracingEnabled[];
} // namespace prefs

@ -17,257 +17,257 @@ namespace switches {
// see chromeos::LoginUtil::GetOffTheRecordCommandLine().)
// Please keep alphabetized.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kAggressiveCacheDiscardThreshold[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kAllowFailedPolicyFetchForTest[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kAllowRAInDevMode[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kAppAutoLaunched[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kAppOemManifestFile[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kArcAvailability[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kArcAvailable[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kArcDataCleanupOnStart[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kArcDisableAppSync[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kAllowRAInDevMode[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kAppAutoLaunched[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kAppOemManifestFile[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kArcAvailability[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kArcAvailable[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kArcDataCleanupOnStart[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kArcDisableAppSync[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kArcDisableGmsCoreCache[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kArcDisableLocaleSync[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kArcDisableLocaleSync[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kArcDisableMediaStoreMaintenance[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kArcDisableSystemDefaultApps[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kArcDisablePlayAutoInstall[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kArcEnableNativeBridge64BitSupportExperiment[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kArcForceShowOptInUi[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kArcForceShowOptInUi[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kArcGeneratePlayAutoInstall[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kArcInstallEventChromeLogForTests[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kArcPackagesCacheMode[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kArcPackagesCacheMode[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kArcPlayStoreAutoUpdate[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kArcScale[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kArcStartMode[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kArcTosHostForTests[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kCellularFirst[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kChildWallpaperLarge[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kChildWallpaperSmall[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kCrosRegion[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kCrosRegionsMode[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kCrosRegionsModeHide[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kArcScale[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kArcStartMode[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kArcTosHostForTests[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kCellularFirst[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kChildWallpaperLarge[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kChildWallpaperSmall[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kCrosRegion[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kCrosRegionsMode[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kCrosRegionsModeHide[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kCrosRegionsModeOverride[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kDefaultWallpaperIsOem[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kDefaultWallpaperLarge[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kDefaultWallpaperSmall[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kDefaultWallpaperIsOem[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kDefaultWallpaperLarge[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kDefaultWallpaperSmall[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDerelictDetectionTimeout[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kDerelictIdleTimeout[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kDisableArcDataWipe[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kDerelictIdleTimeout[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kDisableArcDataWipe[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDisableArcOptInVerification[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kDisableDemoMode[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kDisableDemoMode[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDisableDeviceDisabling[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDisableEncryptionMigration[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDisableFineGrainedTimeZoneDetection[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kDisableGaiaServices[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kDisableGaiaServices[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDisableHIDDetectionOnOOBEForTesting[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDisableLoginAnimations[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDisableMachineCertRequest[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDisableOOBEChromeVoxHintTimerForTesting[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDisablePerUserTimezone[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kDisableRollbackOption[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kDisableRollbackOption[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDisableSigninFrameClientCerts[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDisableVolumeAdjustSound[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kEnableArc[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kEnableArcVm[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kEnableCastReceiver[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kEnableConsumerKiosk[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kEnableArc[];
COMPONENT_EXPORT(ASH_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kEnableArcVm[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kEnableCastReceiver[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kEnableConsumerKiosk[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEnableTabletFormFactor[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEnableEncryptionMigration[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEnableExtensionAssetsSharing[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kEnableHoudini[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kEnableHoudini64[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kEnableNdkTranslation[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kEnableHoudini[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kEnableHoudini64[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kEnableNdkTranslation[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEnableNdkTranslation64[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEnableRequestTabletSite[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEnableTouchCalibrationSetting[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEnableTouchpadThreeFingerClick[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kEnterpriseDisableArc[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kEnterpriseDisableArc[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEnterpriseEnableForcedReEnrollment[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEnterpriseEnableInitialEnrollment[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEnterpriseEnablePsm[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEnterpriseEnableZeroTouchEnrollment[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEnterpriseEnrollmentInitialModulus[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kEnterpriseEnrollmentModulusLimit[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kExternalMetricsCollectionInterval[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kFirstExecAfterBoot[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kFirstExecAfterBoot[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kFakeDriveFsLauncherChrootPath[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kFakeDriveFsLauncherSocketPath[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kFakeArcRecommendedAppsForTesting[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kFingerprintSensorLocation[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kForceDevToolsAvailable[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kForceFirstRunUI[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kForceFirstRunUI[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kForceHappinessTrackingSystem[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kForceHWIDCheckFailureForTest[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kForceLoginManagerInTests[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kForceSystemCompositorMode[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kFormFactor[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kGuestSession[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kGuestWallpaperLarge[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kGuestWallpaperSmall[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kHasChromeOSKeyboard[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kHomedir[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kIgnoreArcVmDevConf[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kGuestSession[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kGuestWallpaperLarge[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kGuestWallpaperSmall[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kHasChromeOSKeyboard[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kHomedir[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kIgnoreArcVmDevConf[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kIgnoreUserProfileMappingForTests[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kInstallLogFastUploadForTests[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kKernelnextRestrictVMs[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kKernelnextRestrictVMs[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kLacrosChromeAdditionalArgs[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kLacrosChromeAdditionalEnv[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kLacrosChromePath[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kLacrosChromePath[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kLacrosMojoSocketForTesting[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kLoginManager[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kLoginProfile[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kLoginUser[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kMarketingOptInUrl[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kNaturalScrollDefault[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kNoteTakingAppIds[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kOobeEulaUrlForTests[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kLoginManager[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kLoginProfile[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kLoginUser[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kMarketingOptInUrl[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kNaturalScrollDefault[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kNoteTakingAppIds[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kOobeEulaUrlForTests[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kOobeForceTabletFirstRun[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kOobeGuestSession[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kOobeSkipPostLogin[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kOobeSkipToLogin[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kOobeTimerInterval[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kOobeGuestSession[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kOobeSkipPostLogin[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kOobeSkipToLogin[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kOobeTimerInterval[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kOobeTimezoneOverrideForTests[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kPublicAccountsSamlAclUrl[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kDisableArcCpuRestriction[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kProfileRequiresPolicy[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kProfileRequiresPolicy[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kRedirectLibassistantLogging[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kRegulatoryLabelDir[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kRlzPingDelay[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kSafeMode[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kSamlPasswordChangeUrl[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kShelfHoverPreviews[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kShelfHotseat[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kShowLoginDevOverlay[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kShowOobeDevOverlay[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kEnableOobeTestAPI[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kRegulatoryLabelDir[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kRlzPingDelay[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kSafeMode[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kSamlPasswordChangeUrl[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kShelfHoverPreviews[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kShelfHotseat[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kShowLoginDevOverlay[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kShowOobeDevOverlay[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kEnableOobeTestAPI[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kOobeScreenshotDirectory[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kTelemetryExtensionDirectory[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kTestEncryptionMigrationUI[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kTestWallpaperServer[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kTetherStub[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kTestWallpaperServer[];
COMPONENT_EXPORT(ASH_CONSTANTS) extern const char kTetherStub[];
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kTetherHostScansIgnoreWiredConnections[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kWaitForInitialPolicyFetchForTest[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kUnfilteredBluetoothDevices[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
extern const char kUpdateRequiredAueForTest[];
////////////////////////////////////////////////////////////////////////////////
// Returns true if memory pressure handling is enabled.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool MemoryPressureHandlingEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool MemoryPressureHandlingEnabled();
// Returns true if flags are set indicating that stored user keys are being
// converted to GAIA IDs.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsGaiaIdMigrationStarted();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsGaiaIdMigrationStarted();
// Returns true if this is a Cellular First device.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsCellularFirstDevice();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsCellularFirstDevice();
// Returns true if client certificate authentication for the sign-in frame on
// the Chrome OS sign-in screen is enabled.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsSigninFrameClientCertsEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsSigninFrameClientCertsEnabled();
// Returns true if we should show window previews when hovering over an app
// on the shelf.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool ShouldShowShelfHoverPreviews();
COMPONENT_EXPORT(ASH_CONSTANTS) bool ShouldShowShelfHoverPreviews();
// Returns true if the Chromebook should ignore its wired connections when
// deciding whether to run scans for tethering hosts. Should be used only for
// testing.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
bool ShouldTetherHostScansIgnoreWiredConnections();
// Returns true if we should skip all other OOBE pages after user login.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool ShouldSkipOobePostLogin();
COMPONENT_EXPORT(ASH_CONSTANTS) bool ShouldSkipOobePostLogin();
// Returns true if the device is of tablet form factor.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsTabletFormFactor();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsTabletFormFactor();
// Returns true if GAIA services has been disabled.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsGaiaServicesDisabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsGaiaServicesDisabled();
// Returns true if |kDisableArcCpuRestriction| is true.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsArcCpuRestrictionDisabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsArcCpuRestrictionDisabled();
// Returns true if all Bluetooth devices in UI (System Tray/Settings Page.)
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsUnfilteredBluetoothDevicesEnabled();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsUnfilteredBluetoothDevicesEnabled();
// Returns whether the first user run OOBE flow (sequence of screens shown to
// the user on their first login) should show tablet mode screens when the
// device is not in tablet mode.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool ShouldOobeUseTabletModeFirstRun();
COMPONENT_EXPORT(ASH_CONSTANTS) bool ShouldOobeUseTabletModeFirstRun();
// Returns true if device policy DeviceMinimumVersion should assume that
// Auto Update Expiration is reached. This should only be used for testing.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
bool IsAueReachedForUpdateRequiredForTest();
// Returns true if the OOBE ChromeVox hint timer is disabled for testing.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(ASH_CONSTANTS)
bool IsOOBEChromeVoxHintTimerDisabledForTesting();
} // namespace switches

@ -18,10 +18,10 @@ enum class DeviceType {
};
// Returns the current device type, eg, Chromebook, Chromebox.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) DeviceType GetDeviceType();
COMPONENT_EXPORT(ASH_CONSTANTS) DeviceType GetDeviceType();
// Returns true if the device is Google branded.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool IsGoogleBrandedDevice();
COMPONENT_EXPORT(ASH_CONSTANTS) bool IsGoogleBrandedDevice();
} // namespace chromeos

@ -316,8 +316,8 @@ component("cpp") {
]
deps = [
"//ash/constants",
"//base/util/values:values_util",
"//chromeos/constants",
"//chromeos/dbus/power:power_manager_proto",
"//chromeos/services/assistant/public/cpp",
"//chromeos/services/cellular_setup:in_process_esim_manager",

@ -35,9 +35,9 @@ static_library("external_arc") {
]
defines = [ "ASH_PUBLIC_IMPLEMENTATION" ]
deps = [
"//ash/constants",
"//ash/public/cpp",
"//base",
"//chromeos/constants",
"//components/account_id",
"//components/arc:arc_base_utils",
"//components/arc:arc_metrics_constants",

@ -26,13 +26,13 @@ source_set("shortcut_viewer") {
deps = [
"//ash",
"//ash/constants",
"//ash/public/cpp",
"//ash/public/cpp/resources:ash_public_unscaled_resources",
"//ash/search_box",
"//ash/shortcut_viewer/strings",
"//ash/shortcut_viewer/vector_icons",
"//cc/paint",
"//chromeos/constants",
"//chromeos/ui/base",
"//ui/accessibility",
"//ui/aura",

@ -1251,9 +1251,9 @@ group("browser_dependencies") {
if (is_chromeos_ash) {
public_deps += [
"//ash/constants",
"//chrome/browser/chromeos",
"//chromeos",
"//chromeos/constants",
"//chromeos/dbus/constants",
"//chromeos/memory",
]

@ -168,6 +168,7 @@ static_library("test_support") {
if (is_chromeos_ash) {
deps += [
"//ash/constants",
"//chrome/browser/chromeos",
"//chromeos",
"//chromeos/dbus/constants",

@ -2404,6 +2404,7 @@ static_library("browser") {
"apps/digital_goods/util.h",
]
deps += [
"//ash/constants",
"//chrome/app/theme:chrome_unscaled_resources_grit",
"//chrome/browser/nearby_sharing/common",
"//chrome/browser/ui/webui/chromeos/add_supervision:mojo_bindings",

@ -72,6 +72,7 @@ source_set("chromeos") {
"//apps",
"//ash",
"//ash/components/account_manager",
"//ash/constants",
"//ash/public/cpp",
"//ash/public/cpp/external_arc",
"//ash/public/mojom",
@ -149,7 +150,6 @@ source_set("chromeos") {
"//chromeos/components/sync_wifi",
"//chromeos/components/telemetry_extension_ui/mojom",
"//chromeos/components/tether",
"//chromeos/constants",
"//chromeos/crosapi/cpp",
"//chromeos/crosapi/mojom",
"//chromeos/cryptohome",
@ -3368,6 +3368,7 @@ static_library("test_support") {
deps = [
":chromeos",
"//ash/constants",
"//chrome/browser:browser_process",
"//chrome/browser/web_applications/components",
"//chrome/common:constants",
@ -4121,6 +4122,7 @@ source_set("unit_tests") {
":test_support",
":user_activity_event_proto",
"//ash",
"//ash/constants",
"//ash/public/cpp:test_support",
"//ash/public/cpp/external_arc",
"//ash/public/cpp/external_arc:test_support",
@ -4145,7 +4147,6 @@ source_set("unit_tests") {
"//chromeos/components/proximity_auth",
"//chromeos/components/proximity_auth:test_support",
"//chromeos/components/tether:test_support",
"//chromeos/constants",
"//chromeos/cryptohome:test_support",
"//chromeos/dbus:test_support",
"//chromeos/dbus/attestation",

@ -23,6 +23,7 @@ source_set("smart_dim") {
]
deps = [
"//ash/constants",
"//base",
"//chrome/browser:resources",
"//chrome/browser/chromeos:user_activity_event_proto",

@ -1050,6 +1050,7 @@ static_library("extensions") {
}
deps += [
"//ash",
"//ash/constants",
"//ash/keyboard/ui:resources_grit_grit",
"//ash/public/cpp",
"//chrome/browser/chromeos/crostini:crostini_installer_types_mojom",
@ -1065,7 +1066,6 @@ static_library("extensions") {
"//chromeos/components/chromebox_for_meetings/buildflags",
"//chromeos/components/proximity_auth",
"//chromeos/components/remote_apps/mojom",
"//chromeos/constants",
"//chromeos/cryptohome",
"//chromeos/dbus",
"//chromeos/dbus/cryptohome",

@ -33,7 +33,7 @@ source_set("profile") {
deps += [ "//extensions/browser" ]
}
if (is_chromeos_ash) {
deps += [ "//chromeos/constants" ]
deps += [ "//ash/constants" ]
}
if (is_chromeos_lacros) {
deps += [ "//chromeos/lacros" ]

@ -2618,6 +2618,7 @@ static_library("ui") {
"//ash/assistant/model",
"//ash/assistant/util",
"//ash/components/account_manager",
"//ash/constants",
"//ash/keyboard/ui",
"//ash/public/cpp",
"//ash/public/cpp/app_list/vector_icons",
@ -2684,7 +2685,6 @@ static_library("ui") {
"//chromeos/components/string_matching",
"//chromeos/components/tether",
"//chromeos/components/web_applications",
"//chromeos/constants",
"//chromeos/crosapi/cpp",
"//chromeos/cryptohome",
"//chromeos/dbus",

@ -104,13 +104,13 @@ source_set("web_applications") {
if (is_chromeos_ash) {
deps += [
"//ash/constants",
"//ash/public/cpp",
"//chromeos/components/camera_app_ui",
"//chromeos/components/connectivity_diagnostics",
"//chromeos/components/eche_app_ui",
"//chromeos/components/help_app_ui",
"//chromeos/components/media_app_ui",
"//chromeos/constants",
"//chromeos/strings",
"//components/arc:arc_base",
"//components/arc/mojom",
@ -243,8 +243,8 @@ source_set("web_applications_unit_tests") {
if (is_chromeos_ash) {
deps += [
"//ash/constants",
"//chrome/browser/chromeos",
"//chromeos/constants",
"//components/arc:arc",
"//components/arc:arc_test_support",
"//components/arc/mojom",

@ -352,7 +352,7 @@ static_library("common") {
"extensions/api/input_ime/input_components_handler.h",
]
public_deps += [ "//ash/keyboard/ui" ]
deps += [ "//chromeos/constants" ]
deps += [ "//ash/constants" ]
}
if (enable_nacl) {

@ -265,7 +265,7 @@ static_library("renderer") {
}
if (is_chromeos_ash) {
deps += [ "//chromeos/constants:constants" ]
deps += [ "//ash/constants" ]
}
if (enable_widevine_cdm_component) {

@ -33,10 +33,7 @@ component("chromeos") {
if (is_chromeos_device) {
configs += [ "//build/config/compiler:use_orderfile_for_hugepage" ]
}
public_deps = [
"//chromeos/constants",
"//components/policy/proto",
]
public_deps = [ "//components/policy/proto" ]
deps = [
":chromeos_export",
"//base",

@ -10,7 +10,6 @@ component("attestation") {
defines = [ "IS_CHROMEOS_ATTESTATION_IMPL" ]
deps = [
"//base",
"//chromeos/constants:constants",
"//chromeos/cryptohome",
"//chromeos/dbus:common",
"//chromeos/dbus/attestation",
@ -57,7 +56,6 @@ source_set("unit_tests") {
deps = [
":test_support",
"//base/test:test_support",
"//chromeos/constants:constants",
"//chromeos/cryptohome:test_support",
"//chromeos/dbus:test_support",
"//chromeos/dbus/attestation",

@ -2,7 +2,6 @@ noparent = True
include_rules = [
"+base",
"+chromeos/chromeos_constants",
"+chromeos/cryptohome",
"+chromeos/dbus",
"+components/account_id",

@ -9,8 +9,8 @@ assert(is_chromeos, "Non-Chrome-OS builds must not depend on //chromeos")
component("audio") {
defines = [ "IS_CHROMEOS_AUDIO_IMPL" ]
deps = [
"//ash/constants",
"//base",
"//chromeos/constants",
"//chromeos/dbus/audio",
"//components/prefs",
"//media/base:video_facing",
@ -35,8 +35,8 @@ source_set("unit_tests") {
testonly = true
deps = [
":audio",
"//ash/constants",
"//base/test:test_support",
"//chromeos/constants",
"//chromeos/dbus/audio",
"//components/prefs:test_support",
"//media/base:video_facing",

@ -33,7 +33,6 @@ static_library("camera_app_ui") {
":mojo_bindings_js",
"//ash/public/cpp",
"//chromeos/components/web_applications",
"//chromeos/constants",
"//chromeos/strings",
"//chromeos/system",
"//components/arc",

@ -16,7 +16,6 @@ static_library("connectivity_diagnostics") {
"../network_ui:network_diagnostics_resource_provider",
"../network_ui:network_health_resource_provider",
"//chromeos/components/web_applications",
"//chromeos/constants",
"//chromeos/resources:connectivity_diagnostics_resources",
"//chromeos/services/network_health/public/mojom:mojom",
"//chromeos/strings/",

@ -15,7 +15,6 @@ static_library("diagnostics_ui") {
deps = [
"//chromeos/components/diagnostics_ui/backend",
"//chromeos/components/diagnostics_ui/mojom",
"//chromeos/constants",
"//chromeos/resources:diagnostics_app_resources",
"//chromeos/strings/",
"//content/public/browser",

@ -28,10 +28,10 @@ component("drivefs") {
]
}
deps = [
"//ash/constants",
"//base",
"//chromeos/components/drivefs/mojom",
"//chromeos/components/mojo_bootstrap",
"//chromeos/constants",
"//chromeos/dbus",
"//chromeos/disks",
"//components/account_id",

@ -19,7 +19,7 @@ static_library("eche_app_ui") {
]
deps = [
"//chromeos/constants",
"//ash/constants",
"//chromeos/resources:eche_app_resources",
"//content/public/browser",
"//ui/webui",

@ -19,7 +19,6 @@ static_library("file_manager_ui") {
deps = [
"//base",
"//chromeos/components/file_manager/mojom",
"//chromeos/constants",
"//chromeos/resources:file_manager_resources",
"//content/public/browser",
"//ui/file_manager:file_manager_gen_resources",

@ -25,11 +25,11 @@ static_library("help_app_ui") {
deps = [
":mojo_bindings",
":mojo_bindings_js",
"//ash/constants",
"//chromeos/components/local_search_service/public/cpp",
"//chromeos/components/local_search_service/public/mojom",
"//chromeos/components/local_search_service/public/mojom:mojom_js",
"//chromeos/components/web_applications",
"//chromeos/constants",
"//chromeos/resources:help_app_bundle_resources",
"//chromeos/resources:help_app_resources",
"//chromeos/strings",
@ -67,7 +67,7 @@ js2gtest("browser_tests_js") {
deps = [
":browser_test_support",
"//chromeos/constants",
"//ash/constants",
]
}

@ -28,7 +28,6 @@ static_library("media_app_ui") {
":mojo_bindings",
":mojo_bindings_js",
"//chromeos/components/web_applications",
"//chromeos/constants",
"//chromeos/resources:media_app_bundle_resources",
"//chromeos/resources:media_app_resources",
"//chromeos/strings",
@ -49,7 +48,7 @@ js2gtest("browser_tests_js") {
deps = [
":browser_test_support",
"//chromeos/constants",
"//ash/constants",
]
}

@ -50,8 +50,8 @@ static_library("stub_multidevice_util") {
deps = [
":multidevice",
"//ash/constants",
"//base",
"//chromeos/constants",
"//chromeos/services/device_sync/proto",
]
}

@ -15,11 +15,11 @@ static_library("debug_webui") {
]
deps = [
"//ash/constants",
"//base",
"//base:i18n",
"//chromeos/components/multidevice/logging",
"//chromeos/components/proximity_auth",
"//chromeos/constants",
"//chromeos/resources",
"//chromeos/services/device_sync/proto",
"//chromeos/services/device_sync/proto:util",

@ -15,7 +15,6 @@ static_library("print_management") {
deps = [
"//chromeos/components/print_management/mojom",
"//chromeos/components/web_applications",
"//chromeos/constants",
"//chromeos/resources:print_management_resources",
"//chromeos/strings/",
"//content/public/browser",

@ -47,11 +47,11 @@ static_library("proximity_auth") {
]
deps = [
"//ash/constants",
"//base",
"//chromeos/components/multidevice",
"//chromeos/components/multidevice/logging",
"//chromeos/components/proximity_auth/public/mojom",
"//chromeos/constants",
"//chromeos/dbus/power",
"//chromeos/dbus/session_manager",
"//chromeos/services/multidevice_setup/public/cpp",
@ -110,12 +110,12 @@ source_set("unit_tests") {
deps = [
":proximity_auth",
":test_support",
"//ash/constants",
"//base",
"//base/test:test_support",
"//chromeos/components/multidevice",
"//chromeos/components/multidevice:test_support",
"//chromeos/components/multidevice/logging",
"//chromeos/constants",
"//chromeos/dbus/power",
"//chromeos/dbus/power:power_manager_proto",
"//chromeos/services/multidevice_setup/public/cpp:prefs",

@ -40,11 +40,11 @@ source_set("quick_answers") {
"utils/quick_answers_utils.h",
]
deps = [
"//ash/constants",
"//ash/public/cpp",
"//ash/public/mojom",
"//base",
"//chromeos/components/quick_answers/public/cpp:prefs",
"//chromeos/constants:constants",
"//chromeos/services/assistant/public/shared",
"//chromeos/services/machine_learning/public/cpp",
"//chromeos/services/machine_learning/public/mojom",
@ -81,12 +81,12 @@ source_set("unit_tests") {
deps = [
":quick_answers",
"//ash/constants",
"//ash/public/cpp",
"//ash/public/mojom",
"//base",
"//base/test:test_support",
"//chromeos/components/quick_answers/public/cpp:prefs",
"//chromeos/constants:constants",
"//chromeos/services/assistant/public/shared",
"//chromeos/services/machine_learning/public/cpp:test_support",
"//chromeos/services/machine_learning/public/mojom",

@ -21,7 +21,6 @@ static_library("sample_system_web_app_ui") {
]
deps = [
"//chromeos/constants",
"//chromeos/resources:sample_system_web_app_resources",
"//content/public/browser",
"//ui/webui",

@ -23,7 +23,6 @@ static_library("scanning") {
deps = [
"//chromeos/components/scanning/mojom",
"//chromeos/constants",
"//chromeos/resources:scanning_app_resources",
"//chromeos/strings/",
"//content/public/browser",

@ -34,10 +34,10 @@ source_set("telemetry_extension_ui") {
]
deps = [
"//ash/constants",
"//base",
"//chrome/browser/chromeos/wilco_dtc_supportd:mojo_utils",
"//chromeos/components/telemetry_extension_ui/mojom",
"//chromeos/constants",
"//chromeos/resources:telemetry_extension_resources",
"//chromeos/services/cros_healthd/public/cpp",
"//chromeos/services/cros_healthd/public/mojom",

@ -31,10 +31,10 @@ source_set("browser_test_support") {
deps = [
"../:telemetry_extension_ui",
"//ash/constants",
"//chrome/browser/chromeos/wilco_dtc_supportd:mojo_utils",
"//chrome/test:test_support_ui",
"//chromeos/components/web_applications/test:test_support",
"//chromeos/constants",
"//chromeos/dbus/cros_healthd:cros_healthd",
]

@ -115,10 +115,10 @@ static_library("tether") {
]
deps = [
"//ash/constants",
"//base",
"//chromeos/components/multidevice/logging",
"//chromeos/components/tether/proto",
"//chromeos/constants",
"//chromeos/dbus/power",
"//chromeos/login/login_state",
"//chromeos/network",
@ -203,7 +203,6 @@ static_library("test_support") {
"//chromeos/components/multidevice",
"//chromeos/components/multidevice:test_support",
"//chromeos/components/tether/proto",
"//chromeos/constants",
"//chromeos/network:test_support",
"//chromeos/services/device_sync/public/cpp:test_support",
"//chromeos/services/secure_channel/public/cpp/client:test_support",
@ -265,7 +264,6 @@ source_set("unit_tests") {
"//chromeos/components/multidevice",
"//chromeos/components/multidevice:test_support",
"//chromeos/components/tether/proto",
"//chromeos/constants",
"//chromeos/dbus/power",
"//chromeos/login/login_state",
"//chromeos/network:test_support",

@ -15,7 +15,6 @@ source_set("test_support") {
"//base/test:test_support",
"//chrome/test:test_support",
"//chrome/test:test_support_ui",
"//chromeos/constants:constants",
"//content/test:test_support",
"//ui/webui:webui",
]

@ -1,29 +0,0 @@
# Copyright 2019 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.
assert(is_chromeos, "Non-Chrome-OS builds must not depend on //chromeos")
component("constants") {
output_name = "chromeos_constants"
defines = [ "IS_CHROMEOS_CONSTANTS_IMPL" ]
deps = [
"//base",
"//base:i18n",
"//build:branding_buildflags",
]
sources = [
"../../ash/constants/ash_constants.cc",
"../../ash/constants/ash_constants.h",
"../../ash/constants/ash_features.cc",
"../../ash/constants/ash_features.h",
"../../ash/constants/ash_paths.cc",
"../../ash/constants/ash_paths.h",
"../../ash/constants/ash_pref_names.cc",
"../../ash/constants/ash_pref_names.h",
"../../ash/constants/ash_switches.cc",
"../../ash/constants/ash_switches.h",
"../../ash/constants/devicetype.cc",
"../../ash/constants/devicetype.h",
]
}

@ -1,9 +0,0 @@
noparent = True
include_rules = [
"+ash/constants",
"+base",
"+build/branding_buildflags.h",
"+chromeos/chromeos_export.h",
"+third_party/icu",
]

@ -9,8 +9,8 @@ assert(is_chromeos, "Non-Chrome-OS builds must not depend on //chromeos")
component("disks") {
defines = [ "IS_CHROMEOS_DISKS_IMPL" ]
deps = [
"//ash/constants",
"//base",
"//chromeos/constants",
"//chromeos/dbus",
"//chromeos/dbus/power",
"//chromeos/dbus/power:power_manager_proto",

@ -11,9 +11,9 @@ component("auth") {
defines = [ "IS_CHROMEOS_LOGIN_AUTH_IMPL" ]
public_deps = [ ":challenge_response_key" ]
deps = [
"//ash/constants",
"//base",
"//base:i18n",
"//chromeos/constants",
"//chromeos/cryptohome",
"//chromeos/dbus/authpolicy",
"//chromeos/dbus/authpolicy:authpolicy_proto",

@ -7,8 +7,8 @@ assert(is_chromeos, "Non-Chrome-OS builds must not depend on //chromeos")
component("login_state") {
defines = [ "IS_LOGIN_STATE_IMPL" ]
deps = [
"//ash/constants",
"//base",
"//chromeos/constants",
"//components/device_event_log",
]
sources = [
@ -36,8 +36,8 @@ source_set("unit_tests") {
testonly = true
deps = [
":login_state",
"//ash/constants",
"//base",
"//chromeos/constants",
"//testing/gmock",
"//testing/gtest",
]

@ -10,7 +10,6 @@ component("session") {
defines = [ "IS_CHROMEOS_LOGIN_SESSION_IMPL" ]
deps = [
"//base",
"//chromeos/constants",
"//chromeos/dbus/cryptohome:cryptohome",
"//chromeos/dbus/cryptohome:cryptohome_proto",
"//chromeos/dbus/power:power",

@ -18,8 +18,6 @@ component("memory") {
":chromeos_implementation",
"//build/config/linux/nss:system_nss_no_ssl_config",
]
public_deps = [ "//chromeos/constants" ]
deps = [
"//base",
"//base/util/memory_pressure",

@ -27,8 +27,6 @@ component("userspace_swap") {
":chromeos_implementation",
"//build/config/linux/nss:system_nss_no_ssl_config",
]
public_deps = [ "//chromeos/constants" ]
deps = [
":mojom",
"//base",

@ -11,9 +11,9 @@ assert(is_chromeos, "Non-Chrome-OS builds must not depend on //chromeos")
component("network") {
defines = [ "IS_CHROMEOS_NETWORK_IMPL" ]
deps = [
"//ash/constants",
"//base",
"//base:i18n",
"//chromeos/constants",
"//chromeos/dbus:common",
"//chromeos/dbus/hermes",
"//chromeos/dbus/hermes",
@ -235,11 +235,11 @@ source_set("unit_tests") {
deps = [
":network",
":test_support",
"//ash/constants",
"//base",
"//base:i18n",
"//base/test:test_support",
"//chromeos:test_utils",
"//chromeos/constants",
"//chromeos/dbus:test_support",
"//chromeos/dbus/hermes:hermes_clients",
"//chromeos/dbus/hermes:hermes_fakes",

@ -42,10 +42,10 @@ component("lib") {
]
deps = [
"//ash/constants",
"//base",
"//chromeos/assistant:buildflags",
"//chromeos/audio",
"//chromeos/constants",
"//chromeos/dbus",
"//chromeos/dbus/power",
"//chromeos/dbus/power:power_manager_proto",
@ -148,12 +148,12 @@ source_set("tests") {
deps = [
":lib",
":test_support",
"//ash/constants",
"//ash/public/cpp/assistant/test_support",
"//ash/public/mojom",
"//base",
"//base/test:test_support",
"//chromeos/audio",
"//chromeos/constants",
"//chromeos/dbus:test_support",
"//chromeos/dbus/audio",
"//chromeos/dbus/power",

@ -23,10 +23,10 @@ source_set("proxy") {
public_deps = [ "//chromeos/services/libassistant/public/mojom" ]
deps += [
"//ash/constants",
"//base",
"//chromeos/assistant/internal",
"//chromeos/assistant/internal/proto/google3",
"//chromeos/constants",
"//chromeos/services/assistant/public/cpp",
"//chromeos/services/assistant/public/cpp/migration",
"//chromeos/services/libassistant",

@ -27,8 +27,8 @@ component("cpp") {
]
public_deps = [
"//ash/constants",
"//ash/public/mojom",
"//chromeos/constants:constants",
"//chromeos/services/assistant/public/mojom",
"//chromeos/services/assistant/public/shared",
"//chromeos/services/network_config/public/mojom",

@ -154,11 +154,11 @@ static_library("device_sync") {
]
deps = [
"//ash/constants",
"//base",
"//base/util/values:values_util",
"//chromeos/components/multidevice",
"//chromeos/components/multidevice/logging",
"//chromeos/constants",
"//chromeos/network",
"//chromeos/services/device_sync/proto:util",
"//chromeos/services/device_sync/public/cpp",
@ -304,11 +304,11 @@ source_set("unit_tests") {
":device_sync",
":feature_status_change",
":test_support",
"//ash/constants",
"//base",
"//base/test:test_support",
"//chromeos/components/multidevice",
"//chromeos/components/multidevice:test_support",
"//chromeos/constants",
"//chromeos/dbus:test_support",
"//chromeos/network",
"//chromeos/network:test_support",

@ -16,10 +16,10 @@ source_set("cpp") {
]
public_deps = [
"//ash/constants",
"//base",
"//chromeos/components/multidevice",
"//chromeos/components/multidevice/logging",
"//chromeos/constants",
"//chromeos/services/device_sync:feature_status_change",
"//chromeos/services/device_sync/public/mojom",
]
@ -34,10 +34,10 @@ source_set("prefs") {
]
public_deps = [
"//ash/constants",
"//base",
"//chromeos/components/multidevice",
"//chromeos/components/multidevice/logging",
"//chromeos/constants",
"//chromeos/services/device_sync:feature_status_change",
"//chromeos/services/device_sync/public/mojom",
]

@ -26,7 +26,6 @@ source_set("decoder") {
deps = [
":constants",
"//base",
"//chromeos/constants",
"//chromeos/services/ime/public/cpp:buildflags",
"//chromeos/services/ime/public/cpp/shared_lib:interfaces",
]
@ -49,8 +48,8 @@ source_set("lib") {
deps = [
":constants",
":decoder",
"//ash/constants",
"//base",
"//chromeos/constants",
"//chromeos/services/ime/public/cpp:buildflags",
"//chromeos/services/ime/public/cpp:rulebased",
"//chromeos/services/ime/public/cpp/shared_lib:interfaces",
@ -85,9 +84,9 @@ source_set("services_unittests") {
deps = [
":lib",
":test_support",
"//ash/constants",
"//base",
"//base/test:test_support",
"//chromeos/constants:constants",
"//chromeos/services/ime/public/mojom",
"//chromeos/services/ime/public/proto:messages_proto",
"//mojo/public/cpp/bindings",

@ -58,10 +58,10 @@ static_library("multidevice_setup") {
]
deps = [
"//ash/constants",
"//base",
"//chromeos/components/multidevice",
"//chromeos/components/multidevice/logging",
"//chromeos/constants:constants",
"//chromeos/services/device_sync/proto:util",
"//chromeos/services/device_sync/public/cpp",
"//chromeos/services/device_sync/public/mojom",
@ -151,11 +151,11 @@ source_set("unit_tests") {
deps = [
":multidevice_setup",
":test_support",
"//ash/constants",
"//base",
"//base/test:test_support",
"//chromeos/components/multidevice",
"//chromeos/components/multidevice:test_support",
"//chromeos/constants:constants",
"//chromeos/services/device_sync/public/cpp:test_support",
"//chromeos/services/multidevice_setup/public/cpp:oobe_completion_tracker",
"//chromeos/services/multidevice_setup/public/cpp:prefs",

@ -47,8 +47,8 @@ source_set("prefs") {
]
deps = [
"//ash/constants",
"//base",
"//chromeos/constants",
"//chromeos/services/multidevice_setup/public/mojom",
"//components/prefs:prefs",
]
@ -61,6 +61,7 @@ source_set("first_run_field_trial") {
]
deps = [
"//ash/constants",
"//base",
"//chromeos",
"//components/variations/proto",

@ -165,6 +165,7 @@ static_library("secure_channel") {
]
deps = [
"//ash/constants",
"//base",
"//chromeos",
"//chromeos/components/multidevice",

@ -9,9 +9,9 @@ assert(is_chromeos, "Non-Chrome-OS builds must not depend on //chromeos")
component("settings") {
defines = [ "IS_CHROMEOS_SETTINGS_IMPL" ]
deps = [
"//ash/constants",
"//base",
"//base:i18n",
"//chromeos/constants",
"//chromeos/login/login_state",
"//third_party/icu",
]

@ -8,9 +8,9 @@ component("system") {
output_name = "chromeos_system"
defines = [ "IS_CHROMEOS_SYSTEM_IMPL" ]
deps = [
"//ash/constants",
"//base",
"//chromeos:chromeos_export",
"//chromeos/constants",
"//ui/ozone:ozone_base",
]
sources = [

@ -97,12 +97,12 @@ static_library("arc") {
deps = [
"//ash:ash",
"//ash/constants",
"//ash/keyboard/ui",
"//ash/public/cpp",
"//base",
"//chromeos/audio",
"//chromeos/components/sensors:sensors",
"//chromeos/constants",
"//chromeos/cryptohome",
"//chromeos/dbus",
"//chromeos/dbus/cryptohome",
@ -203,9 +203,9 @@ static_library("arc_base_utils") {
public_deps = [ ":arc_features" ]
deps = [
"//ash/constants",
"//ash/public/cpp",
"//base",
"//chromeos/constants",
"//chromeos/dbus:concierge_proto",
"//chromeos/dbus:dbus",
"//chromeos/dbus/session_manager",
@ -252,12 +252,12 @@ static_library("arc_base") {
]
deps = [
"//ash/constants",
"//ash/public/cpp",
"//ash/public/cpp/external_arc",
"//base",
"//chromeos/components/sensors:buildflags",
"//chromeos/components/sensors/mojom",
"//chromeos/constants",
"//chromeos/cryptohome",
"//chromeos/dbus:common",
"//chromeos/dbus:concierge_proto",
@ -427,13 +427,13 @@ source_set("unit_tests") {
deps = [
":arc_test_support",
"//ash/constants",
"//ash/keyboard/ui",
"//ash/public/cpp",
"//base",
"//base/test:test_support",
"//base/util/timer",
"//chromeos",
"//chromeos/constants",
"//chromeos/cryptohome:test_support",
"//chromeos/dbus:test_support",
"//chromeos/dbus/permission_broker",

@ -21,6 +21,7 @@ static_library("enterprise") {
]
deps = [
"//ash/constants",
"//base/util/timer",
"//chromeos",
"//chromeos/cryptohome",

@ -40,7 +40,7 @@ static_library("browser_sync") {
]
if (is_chromeos_ash) {
deps += [ "//chromeos/constants" ]
deps += [ "//ash/constants" ]
}
}

@ -124,9 +124,9 @@ static_library("exo") {
if (is_chromeos_ash) {
deps += [
"//ash",
"//ash/constants",
"//ash/keyboard/ui",
"//ash/public/cpp",
"//chromeos/constants",
"//chromeos/crosapi/cpp",
"//chromeos/ui/base",
"//chromeos/ui/frame",
@ -311,11 +311,11 @@ source_set("unit_tests") {
deps += [
"//ash",
"//ash:test_support",
"//ash/constants",
"//ash/keyboard/ui",
"//ash/public/cpp",
"//ash/public/cpp/external_arc",
"//build:chromeos_buildflags",
"//chromeos/constants",
"//chromeos/ui/base",
"//chromeos/ui/frame",
"//ui/base:test_support",

@ -550,6 +550,6 @@ source_set("unit_tests") {
}
if (is_chromeos_ash) {
deps += [ "//chromeos/constants" ]
deps += [ "//ash/constants" ]
}
}

@ -95,7 +95,7 @@ static_library("base") {
]
if (is_chromeos_ash) {
deps += [ "//chromeos/constants" ]
deps += [ "//ash/constants" ]
}
defines = [ "SYNC_USER_AGENT_PRODUCT=$sync_user_agent_product" ]

@ -110,7 +110,7 @@ static_library("driver") {
}
if (is_chromeos_ash) {
deps += [ "//chromeos/constants" ]
deps += [ "//ash/constants" ]
}
configs += [ "//build/config/compiler:wexit_time_destructors" ]

@ -76,7 +76,7 @@ static_library("sync_device_info") {
if (is_chromeos_ash) {
# Required by device_info_util_linux.cc on Chrome OS.
deps += [ "//chromeos/constants" ]
deps += [ "//ash/constants" ]
}
}
@ -122,9 +122,4 @@ source_set("unit_tests") {
"//testing/gmock",
"//testing/gtest",
]
if (is_chromeos_ash) {
# Required by local_device_info_util_unittest.cc on Chrome OS.
deps += [ "//chromeos/constants" ]
}
}

@ -28,7 +28,7 @@ static_library("sync_preferences") {
]
if (is_chromeos_ash) {
deps += [ "//chromeos/constants" ]
deps += [ "//ash/constants" ]
}
}
@ -71,6 +71,6 @@ source_set("unit_tests") {
]
if (is_chromeos_ash) {
deps += [ "//chromeos/constants" ]
deps += [ "//ash/constants" ]
}
}

@ -66,7 +66,7 @@ if (is_chromeos_ash) {
"//components/account_id",
]
deps = [ "//chromeos/constants" ]
deps = [ "//ash/constants" ]
}
source_set("unit_tests") {

@ -2713,9 +2713,9 @@ source_set("browser") {
]
deps += [
"//ash/constants",
"//chromeos/assistant:buildflags",
"//chromeos/audio",
"//chromeos/constants",
"//chromeos/dbus",
"//chromeos/dbus/power",
"//chromeos/dbus/power:power_manager_proto",

@ -237,7 +237,7 @@ test("device_unittests") {
if (is_chromeos_ash) {
sources += [ "bluetooth/chromeos/bluetooth_utils_unittest.cc" ]
deps += [ "//chromeos/constants" ]
deps += [ "//ash/constants" ]
}
if ((is_chromeos || is_linux) && use_dbus) {

@ -196,7 +196,7 @@ component("bluetooth") {
}
if (is_chromeos_ash) {
deps += [ "//chromeos/constants" ]
deps += [ "//ash/constants" ]
}
if (is_mac) {

@ -95,7 +95,7 @@ Some useful flags:
* `--enable-features=Feature1,OtherFeature2`: Enable specified features.
Features are often listed in chrome://flags, or in source files such as
[chrome_features.cc](https://source.chromium.org/chromium/chromium/src/+/master:chrome/common/chrome_features.cc)
or [chromeos_features.cc](https://source.chromium.org/chromium/chromium/src/+/master:chromeos/constants/chromeos_features.cc).
or [ash_features.cc](https://source.chromium.org/chromium/chromium/src/+/master:ash/constants/ash_features.cc).
Note that changing values in chrome://flags does not work for
linux-chromeos, and this flag must be used.
* `--enable-ui-devtools[=9223]`: Allow debugging of the system UI through

@ -227,8 +227,8 @@ source_set("app_shell_lib") {
"browser/shell_screen.h",
]
deps += [
"//ash/constants",
"//chromeos/audio",
"//chromeos/constants",
"//chromeos/dbus",
"//chromeos/dbus/audio",
"//chromeos/dbus/power",
@ -356,7 +356,6 @@ test("app_shell_unittests") {
]
deps += [
"//chromeos/audio",
"//chromeos/constants",
"//chromeos/dbus:test_support",
"//chromeos/dbus/audio",
"//chromeos/dbus/power",
@ -429,10 +428,7 @@ source_set("unit_tests") {
]
if (is_chromeos_ash) {
deps += [
"//chromeos/constants",
"//components/keyed_service/content",
]
deps += [ "//components/keyed_service/content" ]
}
}

@ -336,8 +336,8 @@ component("capture_lib") {
]
public_deps += [ "//media/capture/video/chromeos/public" ]
deps += [
"//ash/constants",
"//build/config/linux/libdrm",
"//chromeos/constants",
"//components/chromeos_camera:mojo_mjpeg_decode_accelerator",
"//components/chromeos_camera/common",
"//components/device_event_log",

@ -519,6 +519,7 @@ test("chromevox_tests") {
deps = [
":chromevox_unitjs_tests",
"//ash/constants",
"//base",
"//base:i18n",
"//base/test:test_support",
@ -534,7 +535,6 @@ test("chromevox_tests") {
"//chrome/test:test_support",
"//chrome/test:test_support_ui",
"//chrome/test/data:web_ui_test_bindings",
"//chromeos/constants:constants",
"//components/webapps/browser",
"//content/test:test_support",
"//extensions/browser:test_support",

@ -56,7 +56,6 @@ component("chromeos") {
deps = [
":ime_types",
"//build:branding_buildflags",
"//chromeos/constants",
"//chromeos/services/ime/public/mojom",
"//chromeos/system",
"//third_party/icu",

@ -18,9 +18,9 @@ component("chromeos") {
]
defines = [ "UI_CHROMEOS_IMPLEMENTATION" ]
deps = [
"//ash/constants",
"//base",
"//base/third_party/dynamic_annotations",
"//chromeos/constants",
"//chromeos/dbus/power",
"//chromeos/dbus/power:power_manager_proto",
"//components/device_event_log",

@ -1,3 +1,3 @@
This directory contains things that are simultaneously UI-specific (i.e. can't
be in chromeos/), Chrome-OS-specific (i.e. shouldn't be in ui/wm/), and used
outside of (and not dependent on) Ash (i.e. can't be in ash/).
outside of Ash (i.e. can't be in ash/).

@ -20,8 +20,8 @@ source_set("events") {
"pref_names.h",
]
deps = [
"//ash/constants",
"//base",
"//chromeos/constants",
"//device/udev_linux",
"//ui/base:features",
"//ui/base/ime/chromeos",

@ -258,6 +258,6 @@ test("display_unittests") {
}
if (is_chromeos_ash) {
deps += [ "//chromeos/constants" ]
deps += [ "//ash/constants" ]
}
}