| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 CHROMEOS_EXPORT extern const char kOobeSkipPostLogin[]; | 119 CHROMEOS_EXPORT extern const char kOobeSkipPostLogin[]; |
| 120 CHROMEOS_EXPORT extern const char kOobeTimerInterval[]; | 120 CHROMEOS_EXPORT extern const char kOobeTimerInterval[]; |
| 121 CHROMEOS_EXPORT extern const char kPowerStub[]; | 121 CHROMEOS_EXPORT extern const char kPowerStub[]; |
| 122 CHROMEOS_EXPORT extern const char kShillStub[]; | 122 CHROMEOS_EXPORT extern const char kShillStub[]; |
| 123 CHROMEOS_EXPORT extern const char kSmsTestMessages[]; | 123 CHROMEOS_EXPORT extern const char kSmsTestMessages[]; |
| 124 CHROMEOS_EXPORT extern const char kStubCrosSettings[]; | 124 CHROMEOS_EXPORT extern const char kStubCrosSettings[]; |
| 125 CHROMEOS_EXPORT extern const char kSystemDevMode[]; | 125 CHROMEOS_EXPORT extern const char kSystemDevMode[]; |
| 126 CHROMEOS_EXPORT extern const char kTestAutoUpdateUI[]; | 126 CHROMEOS_EXPORT extern const char kTestAutoUpdateUI[]; |
| 127 CHROMEOS_EXPORT extern const char kAttestationServer[]; | 127 CHROMEOS_EXPORT extern const char kAttestationServer[]; |
| 128 CHROMEOS_EXPORT extern const char kWakeOnWifiPacket[]; | 128 CHROMEOS_EXPORT extern const char kWakeOnWifiPacket[]; |
| 129 CHROMEOS_EXPORT extern const char kForceSystemCompositorMode[]; |
| 129 | 130 |
| 130 // Returns true if the system should wake in response to wifi traffic. | 131 // Returns true if the system should wake in response to wifi traffic. |
| 131 CHROMEOS_EXPORT bool WakeOnWifiEnabled(); | 132 CHROMEOS_EXPORT bool WakeOnWifiEnabled(); |
| 132 | 133 |
| 133 // Returns true if memory pressure handling is enabled. | 134 // Returns true if memory pressure handling is enabled. |
| 134 CHROMEOS_EXPORT bool MemoryPressureHandlingEnabled(); | 135 CHROMEOS_EXPORT bool MemoryPressureHandlingEnabled(); |
| 135 | 136 |
| 136 // Returns thresholds for determining if the system is under memory pressure. | 137 // Returns thresholds for determining if the system is under memory pressure. |
| 137 CHROMEOS_EXPORT base::chromeos::MemoryPressureMonitor::MemoryPressureThresholds | 138 CHROMEOS_EXPORT base::chromeos::MemoryPressureMonitor::MemoryPressureThresholds |
| 138 GetMemoryPressureThresholds(); | 139 GetMemoryPressureThresholds(); |
| 139 | 140 |
| 140 // Returns true if flags are set indicating that stored user keys are being | 141 // Returns true if flags are set indicating that stored user keys are being |
| 141 // converted to GAIA IDs. | 142 // converted to GAIA IDs. |
| 142 CHROMEOS_EXPORT bool IsGaiaIdMigrationStarted(); | 143 CHROMEOS_EXPORT bool IsGaiaIdMigrationStarted(); |
| 143 | 144 |
| 144 } // namespace switches | 145 } // namespace switches |
| 145 } // namespace chromeos | 146 } // namespace chromeos |
| 146 | 147 |
| 147 #endif // CHROMEOS_CHROMEOS_SWITCHES_H_ | 148 #endif // CHROMEOS_CHROMEOS_SWITCHES_H_ |
| OLD | NEW |