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/chromeos/memory_pressure_observer_chromeos.h" |
8 #include "chromeos/chromeos_export.h" | 9 #include "chromeos/chromeos_export.h" |
9 | 10 |
10 namespace chromeos { | 11 namespace chromeos { |
11 namespace switches { | 12 namespace switches { |
12 | 13 |
13 // Switches that are used in src/chromeos must go here. | 14 // Switches that are used in src/chromeos must go here. |
14 // Other switches that apply just to chromeos code should go here also (along | 15 // Other switches that apply just to chromeos code should go here also (along |
15 // with any code that is specific to the chromeos system). ChromeOS specific UI | 16 // with any code that is specific to the chromeos system). ChromeOS specific UI |
16 // should be in src/ash. | 17 // should be in src/ash. |
17 | 18 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 CHROMEOS_EXPORT extern const char kGuestWallpaperLarge[]; | 76 CHROMEOS_EXPORT extern const char kGuestWallpaperLarge[]; |
76 CHROMEOS_EXPORT extern const char kGuestWallpaperSmall[]; | 77 CHROMEOS_EXPORT extern const char kGuestWallpaperSmall[]; |
77 CHROMEOS_EXPORT extern const char kHasChromeOSDiamondKey[]; | 78 CHROMEOS_EXPORT extern const char kHasChromeOSDiamondKey[]; |
78 CHROMEOS_EXPORT extern const char kHasChromeOSKeyboard[]; | 79 CHROMEOS_EXPORT extern const char kHasChromeOSKeyboard[]; |
79 CHROMEOS_EXPORT extern const char kHomedir[]; | 80 CHROMEOS_EXPORT extern const char kHomedir[]; |
80 CHROMEOS_EXPORT extern const char kHostPairingOobe[]; | 81 CHROMEOS_EXPORT extern const char kHostPairingOobe[]; |
81 CHROMEOS_EXPORT extern const char kIgnoreUserProfileMappingForTests[]; | 82 CHROMEOS_EXPORT extern const char kIgnoreUserProfileMappingForTests[]; |
82 CHROMEOS_EXPORT extern const char kLoginManager[]; | 83 CHROMEOS_EXPORT extern const char kLoginManager[]; |
83 CHROMEOS_EXPORT extern const char kLoginProfile[]; | 84 CHROMEOS_EXPORT extern const char kLoginProfile[]; |
84 CHROMEOS_EXPORT extern const char kLoginUser[]; | 85 CHROMEOS_EXPORT extern const char kLoginUser[]; |
| 86 CHROMEOS_EXPORT extern const char kMemoryPressureThresholds[]; |
85 CHROMEOS_EXPORT extern const char kNaturalScrollDefault[]; | 87 CHROMEOS_EXPORT extern const char kNaturalScrollDefault[]; |
86 CHROMEOS_EXPORT extern const char kOobeGuestSession[]; | 88 CHROMEOS_EXPORT extern const char kOobeGuestSession[]; |
87 CHROMEOS_EXPORT extern const char kOobeSkipPostLogin[]; | 89 CHROMEOS_EXPORT extern const char kOobeSkipPostLogin[]; |
88 CHROMEOS_EXPORT extern const char kOobeTimerInterval[]; | 90 CHROMEOS_EXPORT extern const char kOobeTimerInterval[]; |
89 CHROMEOS_EXPORT extern const char kPowerStub[]; | 91 CHROMEOS_EXPORT extern const char kPowerStub[]; |
90 CHROMEOS_EXPORT extern const char kShillStub[]; | 92 CHROMEOS_EXPORT extern const char kShillStub[]; |
91 CHROMEOS_EXPORT extern const char kSmsTestMessages[]; | 93 CHROMEOS_EXPORT extern const char kSmsTestMessages[]; |
92 CHROMEOS_EXPORT extern const char kStubCrosSettings[]; | 94 CHROMEOS_EXPORT extern const char kStubCrosSettings[]; |
93 CHROMEOS_EXPORT extern const char kSystemDevMode[]; | 95 CHROMEOS_EXPORT extern const char kSystemDevMode[]; |
94 CHROMEOS_EXPORT extern const char kTestAutoUpdateUI[]; | 96 CHROMEOS_EXPORT extern const char kTestAutoUpdateUI[]; |
95 CHROMEOS_EXPORT extern const char kWakeOnPackets[]; | 97 CHROMEOS_EXPORT extern const char kWakeOnPackets[]; |
96 CHROMEOS_EXPORT extern const char kEnableCaptivePortalBypassProxy[]; | 98 CHROMEOS_EXPORT extern const char kEnableCaptivePortalBypassProxy[]; |
97 | 99 |
98 CHROMEOS_EXPORT bool WakeOnWifiEnabled(); | 100 CHROMEOS_EXPORT bool WakeOnWifiEnabled(); |
99 | 101 |
| 102 CHROMEOS_EXPORT base::MemoryPressureObserverChromeOS::MemoryPressureThresholds |
| 103 GetMemoryPressureThresholds(); |
| 104 |
100 } // namespace switches | 105 } // namespace switches |
101 } // namespace chromeos | 106 } // namespace chromeos |
102 | 107 |
103 #endif // CHROMEOS_CHROMEOS_SWITCHES_H_ | 108 #endif // CHROMEOS_CHROMEOS_SWITCHES_H_ |
OLD | NEW |