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