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