1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROMEOS_CHROMEOS_SWITCHES_H_
6 #define CHROMEOS_CHROMEOS_SWITCHES_H_
8 #include "base/chromeos/memory_pressure_monitor_chromeos.h"
9 #include "chromeos/chromeos_export.h"
14 // Switches that are used in src/chromeos must go here.
15 // Other switches that apply just to chromeos code should go here also (along
16 // with any code that is specific to the chromeos system). ChromeOS specific UI
17 // should be in src/ash.
19 // Note: If you add a switch, consider if it needs to be copied to a subsequent
20 // command line if the process executes a new copy of itself. (For example,
21 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().)
23 // Please keep alphabetized.
24 CHROMEOS_EXPORT
extern const char kAllowRAInDevMode
[];
25 CHROMEOS_EXPORT
extern const char kAppOemManifestFile
[];
26 CHROMEOS_EXPORT
extern const char kArtifactsDir
[];
27 CHROMEOS_EXPORT
extern const char kAshWebUIInit
[];
28 CHROMEOS_EXPORT
extern const char kChildWallpaperLarge
[];
29 CHROMEOS_EXPORT
extern const char kChildWallpaperSmall
[];
30 CHROMEOS_EXPORT
extern const char kConsumerDeviceManagementUrl
[];
31 CHROMEOS_EXPORT
extern const char kDefaultWallpaperIsOem
[];
32 CHROMEOS_EXPORT
extern const char kDefaultWallpaperLarge
[];
33 CHROMEOS_EXPORT
extern const char kDefaultWallpaperSmall
[];
34 CHROMEOS_EXPORT
extern const char kDbusStub
[];
35 CHROMEOS_EXPORT
extern const char kDbusUnstubClients
[];
36 CHROMEOS_EXPORT
extern const char kDerelictDetectionTimeout
[];
37 CHROMEOS_EXPORT
extern const char kDerelictIdleTimeout
[];
38 CHROMEOS_EXPORT
extern const char kDisableBootAnimation
[];
39 CHROMEOS_EXPORT
extern const char kDisableCloudImport
[];
40 CHROMEOS_EXPORT
extern const char kDisableDemoMode
[];
41 CHROMEOS_EXPORT
extern const char kDisableDeviceDisabling
[];
42 CHROMEOS_EXPORT
extern const char kDisableGaiaServices
[];
43 CHROMEOS_EXPORT
extern const char kDisableHIDDetectionOnOOBE
[];
44 CHROMEOS_EXPORT
extern const char kDisableLoginAnimations
[];
45 CHROMEOS_EXPORT
extern const char kDisableLoginScrollIntoView
[];
46 CHROMEOS_EXPORT
extern const char kDisableMemoryPressureSystemChromeOS
[];
47 CHROMEOS_EXPORT
extern const char kDisableNetworkPortalNotification
[];
48 CHROMEOS_EXPORT
extern const char kDisableNewChannelSwitcherUI
[];
49 CHROMEOS_EXPORT
extern const char kDisableNewKioskUI
[];
50 CHROMEOS_EXPORT
extern const char kDisableNewMDInputView
[];
51 CHROMEOS_EXPORT
extern const char kDisableNewZIPUnpacker
[];
52 CHROMEOS_EXPORT
extern const char kDisableOfficeEditingComponentApp
[];
53 CHROMEOS_EXPORT
extern const char kDisablePhysicalKeyboardAutocorrect
[];
54 CHROMEOS_EXPORT
extern const char kDisableRollbackOption
[];
55 CHROMEOS_EXPORT
extern const char kDisableVoiceInput
[];
56 CHROMEOS_EXPORT
extern const char kDisableVolumeAdjustSound
[];
57 CHROMEOS_EXPORT
extern const char kDisableWakeOnWifi
[];
58 CHROMEOS_EXPORT
extern const char kEafeUrl
[];
59 CHROMEOS_EXPORT
extern const char kEafePath
[];
60 CHROMEOS_EXPORT
extern const char kEnableConsumerManagement
[];
61 CHROMEOS_EXPORT
extern const char kEnableExtensionAssetsSharing
[];
62 CHROMEOS_EXPORT
extern const char kEnableFirewallHolePunching
[];
63 CHROMEOS_EXPORT
extern const char kEnableFirstRunUITransitions
[];
64 CHROMEOS_EXPORT
extern const char kEnableKioskMode
[];
65 CHROMEOS_EXPORT
extern const char kEnableMtpWriteSupport
[];
66 CHROMEOS_EXPORT
extern const char kEnableNetworkPortalNotification
[];
67 CHROMEOS_EXPORT
extern const char kEnableNewKoreanIme
[];
68 CHROMEOS_EXPORT
extern const char kEnablePhysicalKeyboardAutocorrect
[];
69 CHROMEOS_EXPORT
extern const char kEnablePrinterAppSearch
[];
70 CHROMEOS_EXPORT
extern const char kEnableRequestTabletSite
[];
71 CHROMEOS_EXPORT
extern const char kEnableScreenshotTestingWithMode
[];
72 CHROMEOS_EXPORT
extern const char kEnableTouchpadThreeFingerClick
[];
73 CHROMEOS_EXPORT
extern const char kEnableVideoPlayerChromecastSupport
[];
74 CHROMEOS_EXPORT
extern const char kEnterpriseEnableForcedReEnrollment
[];
75 CHROMEOS_EXPORT
extern const char kEnterpriseEnrollmentInitialModulus
[];
76 CHROMEOS_EXPORT
extern const char kEnterpriseEnrollmentModulusLimit
[];
77 CHROMEOS_EXPORT
extern const char kEnterpriseEnrollmentSkipRobotAuth
[];
78 CHROMEOS_EXPORT
extern const char kFirstExecAfterBoot
[];
79 CHROMEOS_EXPORT
extern const char kForceFirstRunUI
[];
80 CHROMEOS_EXPORT
extern const char kForceLoginManagerInTests
[];
81 CHROMEOS_EXPORT
extern const char kGoldenScreenshotsDir
[];
82 CHROMEOS_EXPORT
extern const char kGuestSession
[];
83 CHROMEOS_EXPORT
extern const char kGuestWallpaperLarge
[];
84 CHROMEOS_EXPORT
extern const char kGuestWallpaperSmall
[];
85 CHROMEOS_EXPORT
extern const char kHasChromeOSDiamondKey
[];
86 CHROMEOS_EXPORT
extern const char kHasChromeOSKeyboard
[];
87 CHROMEOS_EXPORT
extern const char kHomedir
[];
88 CHROMEOS_EXPORT
extern const char kHostPairingOobe
[];
89 CHROMEOS_EXPORT
extern const char kIgnoreUserProfileMappingForTests
[];
90 CHROMEOS_EXPORT
extern const char kLoginManager
[];
91 CHROMEOS_EXPORT
extern const char kLoginProfile
[];
92 CHROMEOS_EXPORT
extern const char kLoginUser
[];
93 CHROMEOS_EXPORT
extern const char kMemoryPressureThresholds
[];
94 CHROMEOS_EXPORT
extern const char kConservativeThreshold
[];
95 CHROMEOS_EXPORT
extern const char kAggressiveCacheDiscardThreshold
[];
96 CHROMEOS_EXPORT
extern const char kAggressiveTabDiscardThreshold
[];
97 CHROMEOS_EXPORT
extern const char kAggressiveThreshold
[];
98 CHROMEOS_EXPORT
extern const char kNaturalScrollDefault
[];
99 CHROMEOS_EXPORT
extern const char kOobeGuestSession
[];
100 CHROMEOS_EXPORT
extern const char kOobeSkipPostLogin
[];
101 CHROMEOS_EXPORT
extern const char kOobeTimerInterval
[];
102 CHROMEOS_EXPORT
extern const char kPowerStub
[];
103 CHROMEOS_EXPORT
extern const char kShillStub
[];
104 CHROMEOS_EXPORT
extern const char kSmsTestMessages
[];
105 CHROMEOS_EXPORT
extern const char kStubCrosSettings
[];
106 CHROMEOS_EXPORT
extern const char kSystemDevMode
[];
107 CHROMEOS_EXPORT
extern const char kTestAutoUpdateUI
[];
108 CHROMEOS_EXPORT
extern const char kTestMetronomeTimer
[];
109 CHROMEOS_EXPORT
extern const char kWakeOnPackets
[];
110 CHROMEOS_EXPORT
extern const char kDisableCaptivePortalBypassProxy
[];
111 CHROMEOS_EXPORT
extern const char kDisableTimeZoneTrackingOption
[];
112 CHROMEOS_EXPORT
extern const char kDisableWebviewSigninFlow
[];
113 CHROMEOS_EXPORT
extern const char kDisableDataSaverPrompt
[];
114 CHROMEOS_EXPORT
extern const char kEnableDataSaverPrompt
[];
115 CHROMEOS_EXPORT
extern const char kDataSaverPromptDemoMode
[];
117 CHROMEOS_EXPORT
bool WakeOnWifiEnabled();
119 CHROMEOS_EXPORT
bool MemoryPressureHandlingEnabled();
120 CHROMEOS_EXPORT
base::MemoryPressureMonitorChromeOS::MemoryPressureThresholds
121 GetMemoryPressureThresholds();
123 } // namespace switches
124 } // namespace chromeos
126 #endif // CHROMEOS_CHROMEOS_SWITCHES_H_