| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROMEOS_CHROMEOS_SWITCHES_H_ | 5 #ifndef CHROMEOS_CHROMEOS_SWITCHES_H_ |
| 6 #define CHROMEOS_CHROMEOS_SWITCHES_H_ | 6 #define CHROMEOS_CHROMEOS_SWITCHES_H_ |
| 7 | 7 |
| 8 #include "base/memory/memory_pressure_monitor_chromeos.h" | 8 #include "base/memory/memory_pressure_monitor_chromeos.h" |
| 9 #include "chromeos/chromeos_export.h" | 9 #include "chromeos/chromeos_export.h" |
| 10 | 10 |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 CHROMEOS_EXPORT extern const char kSmsTestMessages[]; | 140 CHROMEOS_EXPORT extern const char kSmsTestMessages[]; |
| 141 CHROMEOS_EXPORT extern const char kStubCrosSettings[]; | 141 CHROMEOS_EXPORT extern const char kStubCrosSettings[]; |
| 142 CHROMEOS_EXPORT extern const char kSystemDevMode[]; | 142 CHROMEOS_EXPORT extern const char kSystemDevMode[]; |
| 143 CHROMEOS_EXPORT extern const char kTestAutoUpdateUI[]; | 143 CHROMEOS_EXPORT extern const char kTestAutoUpdateUI[]; |
| 144 CHROMEOS_EXPORT extern const char kAttestationServer[]; | 144 CHROMEOS_EXPORT extern const char kAttestationServer[]; |
| 145 CHROMEOS_EXPORT extern const char kWakeOnWifiPacket[]; | 145 CHROMEOS_EXPORT extern const char kWakeOnWifiPacket[]; |
| 146 CHROMEOS_EXPORT extern const char kForceSystemCompositorMode[]; | 146 CHROMEOS_EXPORT extern const char kForceSystemCompositorMode[]; |
| 147 CHROMEOS_EXPORT extern const char kTestEncryptionMigrationUI[]; | 147 CHROMEOS_EXPORT extern const char kTestEncryptionMigrationUI[]; |
| 148 CHROMEOS_EXPORT extern const char kCrosGaiaApiV1[]; | 148 CHROMEOS_EXPORT extern const char kCrosGaiaApiV1[]; |
| 149 CHROMEOS_EXPORT extern const char kVoiceInteractionLocales[]; | 149 CHROMEOS_EXPORT extern const char kVoiceInteractionLocales[]; |
| 150 CHROMEOS_EXPORT extern const char kEnterpriseEnableLicenseTypeSelection[]; |
| 150 | 151 |
| 151 // Returns true if the system should wake in response to wifi traffic. | 152 // Returns true if the system should wake in response to wifi traffic. |
| 152 CHROMEOS_EXPORT bool WakeOnWifiEnabled(); | 153 CHROMEOS_EXPORT bool WakeOnWifiEnabled(); |
| 153 | 154 |
| 154 // Returns true if memory pressure handling is enabled. | 155 // Returns true if memory pressure handling is enabled. |
| 155 CHROMEOS_EXPORT bool MemoryPressureHandlingEnabled(); | 156 CHROMEOS_EXPORT bool MemoryPressureHandlingEnabled(); |
| 156 | 157 |
| 157 // Returns thresholds for determining if the system is under memory pressure. | 158 // Returns thresholds for determining if the system is under memory pressure. |
| 158 CHROMEOS_EXPORT base::chromeos::MemoryPressureMonitor::MemoryPressureThresholds | 159 CHROMEOS_EXPORT base::chromeos::MemoryPressureMonitor::MemoryPressureThresholds |
| 159 GetMemoryPressureThresholds(); | 160 GetMemoryPressureThresholds(); |
| 160 | 161 |
| 161 // Returns true if flags are set indicating that stored user keys are being | 162 // Returns true if flags are set indicating that stored user keys are being |
| 162 // converted to GAIA IDs. | 163 // converted to GAIA IDs. |
| 163 CHROMEOS_EXPORT bool IsGaiaIdMigrationStarted(); | 164 CHROMEOS_EXPORT bool IsGaiaIdMigrationStarted(); |
| 164 | 165 |
| 165 // Returns true if this is a Cellular First device. | 166 // Returns true if this is a Cellular First device. |
| 166 CHROMEOS_EXPORT bool IsCellularFirstDevice(); | 167 CHROMEOS_EXPORT bool IsCellularFirstDevice(); |
| 167 | 168 |
| 168 // Returns true if voice interaction is enabled. | 169 // Returns true if voice interaction is enabled. |
| 169 CHROMEOS_EXPORT bool IsVoiceInteractionEnabled(); | 170 CHROMEOS_EXPORT bool IsVoiceInteractionEnabled(); |
| 170 | 171 |
| 171 } // namespace switches | 172 } // namespace switches |
| 172 } // namespace chromeos | 173 } // namespace chromeos |
| 173 | 174 |
| 174 #endif // CHROMEOS_CHROMEOS_SWITCHES_H_ | 175 #endif // CHROMEOS_CHROMEOS_SWITCHES_H_ |
| OLD | NEW |