| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 CHROMEOS_EXPORT extern const char kStubCrosSettings[]; | 142 CHROMEOS_EXPORT extern const char kStubCrosSettings[]; |
| 143 CHROMEOS_EXPORT extern const char kSystemDevMode[]; | 143 CHROMEOS_EXPORT extern const char kSystemDevMode[]; |
| 144 CHROMEOS_EXPORT extern const char kTestAutoUpdateUI[]; | 144 CHROMEOS_EXPORT extern const char kTestAutoUpdateUI[]; |
| 145 CHROMEOS_EXPORT extern const char kAttestationServer[]; | 145 CHROMEOS_EXPORT extern const char kAttestationServer[]; |
| 146 CHROMEOS_EXPORT extern const char kWakeOnWifiPacket[]; | 146 CHROMEOS_EXPORT extern const char kWakeOnWifiPacket[]; |
| 147 CHROMEOS_EXPORT extern const char kForceSystemCompositorMode[]; | 147 CHROMEOS_EXPORT extern const char kForceSystemCompositorMode[]; |
| 148 CHROMEOS_EXPORT extern const char kTestEncryptionMigrationUI[]; | 148 CHROMEOS_EXPORT extern const char kTestEncryptionMigrationUI[]; |
| 149 CHROMEOS_EXPORT extern const char kCrosGaiaApiV1[]; | 149 CHROMEOS_EXPORT extern const char kCrosGaiaApiV1[]; |
| 150 CHROMEOS_EXPORT extern const char kVoiceInteractionLocales[]; | 150 CHROMEOS_EXPORT extern const char kVoiceInteractionLocales[]; |
| 151 CHROMEOS_EXPORT extern const char kEnterpriseEnableLicenseTypeSelection[]; | 151 CHROMEOS_EXPORT extern const char kEnterpriseEnableLicenseTypeSelection[]; |
| 152 CHROMEOS_EXPORT extern const char kDisablePerUserTimezone[]; |
| 152 | 153 |
| 153 // Returns true if the system should wake in response to wifi traffic. | 154 // Returns true if the system should wake in response to wifi traffic. |
| 154 CHROMEOS_EXPORT bool WakeOnWifiEnabled(); | 155 CHROMEOS_EXPORT bool WakeOnWifiEnabled(); |
| 155 | 156 |
| 156 // Returns true if memory pressure handling is enabled. | 157 // Returns true if memory pressure handling is enabled. |
| 157 CHROMEOS_EXPORT bool MemoryPressureHandlingEnabled(); | 158 CHROMEOS_EXPORT bool MemoryPressureHandlingEnabled(); |
| 158 | 159 |
| 159 // Returns thresholds for determining if the system is under memory pressure. | 160 // Returns thresholds for determining if the system is under memory pressure. |
| 160 CHROMEOS_EXPORT base::chromeos::MemoryPressureMonitor::MemoryPressureThresholds | 161 CHROMEOS_EXPORT base::chromeos::MemoryPressureMonitor::MemoryPressureThresholds |
| 161 GetMemoryPressureThresholds(); | 162 GetMemoryPressureThresholds(); |
| 162 | 163 |
| 163 // Returns true if flags are set indicating that stored user keys are being | 164 // Returns true if flags are set indicating that stored user keys are being |
| 164 // converted to GAIA IDs. | 165 // converted to GAIA IDs. |
| 165 CHROMEOS_EXPORT bool IsGaiaIdMigrationStarted(); | 166 CHROMEOS_EXPORT bool IsGaiaIdMigrationStarted(); |
| 166 | 167 |
| 167 // Returns true if this is a Cellular First device. | 168 // Returns true if this is a Cellular First device. |
| 168 CHROMEOS_EXPORT bool IsCellularFirstDevice(); | 169 CHROMEOS_EXPORT bool IsCellularFirstDevice(); |
| 169 | 170 |
| 170 // Returns true if voice interaction is enabled. | 171 // Returns true if voice interaction is enabled. |
| 171 CHROMEOS_EXPORT bool IsVoiceInteractionEnabled(); | 172 CHROMEOS_EXPORT bool IsVoiceInteractionEnabled(); |
| 172 | 173 |
| 173 } // namespace switches | 174 } // namespace switches |
| 174 } // namespace chromeos | 175 } // namespace chromeos |
| 175 | 176 |
| 176 #endif // CHROMEOS_CHROMEOS_SWITCHES_H_ | 177 #endif // CHROMEOS_CHROMEOS_SWITCHES_H_ |
| OLD | NEW |