Commit 0768c7a2 authored by Yusuke Sato's avatar Yusuke Sato Committed by Chromium LUCI CQ

Remove WakeOnWifi constants that are unused

BUG=None
TEST=try

Change-Id: I2c9220ff56432b946982685d22bec74b6307d027
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2631628Reviewed-by: default avatarYury Khmel <khmel@chromium.org>
Commit-Queue: Yusuke Sato <yusukes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#844956}
parent d1849ba7
...@@ -243,9 +243,6 @@ const char kDisableSigninFrameClientCerts[] = ...@@ -243,9 +243,6 @@ const char kDisableSigninFrameClientCerts[] =
// Disables volume adjust sound. // Disables volume adjust sound.
const char kDisableVolumeAdjustSound[] = "disable-volume-adjust-sound"; const char kDisableVolumeAdjustSound[] = "disable-volume-adjust-sound";
// Disables wake on wifi features.
const char kDisableWakeOnWifi[] = "disable-wake-on-wifi";
// DEPRECATED. Please use --arc-availability=officially-supported. // DEPRECATED. Please use --arc-availability=officially-supported.
// Enables starting the ARC instance upon session start. // Enables starting the ARC instance upon session start.
const char kEnableArc[] = "enable-arc"; const char kEnableArc[] = "enable-arc";
...@@ -578,10 +575,6 @@ const char kDisableArcCpuRestriction[] = "disable-arc-cpu-restriction"; ...@@ -578,10 +575,6 @@ const char kDisableArcCpuRestriction[] = "disable-arc-cpu-restriction";
// for testing the policy behaviour on the DUT. // for testing the policy behaviour on the DUT.
const char kUpdateRequiredAueForTest[] = "aue-reached-for-update-required-test"; const char kUpdateRequiredAueForTest[] = "aue-reached-for-update-required-test";
bool WakeOnWifiEnabled() {
return !base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableWakeOnWifi);
}
bool MemoryPressureHandlingEnabled() { bool MemoryPressureHandlingEnabled() {
if (base::FieldTrialList::FindFullName(kMemoryPressureExperimentName) == if (base::FieldTrialList::FindFullName(kMemoryPressureExperimentName) ==
kMemoryPressureHandlingOff) { kMemoryPressureHandlingOff) {
......
...@@ -94,7 +94,6 @@ COMPONENT_EXPORT(CHROMEOS_CONSTANTS) ...@@ -94,7 +94,6 @@ COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const char kDisableSigninFrameClientCerts[]; extern const char kDisableSigninFrameClientCerts[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const char kDisableVolumeAdjustSound[]; extern const char kDisableVolumeAdjustSound[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kDisableWakeOnWifi[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kEnableArc[]; COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kEnableArc[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kEnableArcVm[]; COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kEnableArcVm[];
...@@ -211,7 +210,6 @@ COMPONENT_EXPORT(CHROMEOS_CONSTANTS) ...@@ -211,7 +210,6 @@ COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const char kTetherHostScansIgnoreWiredConnections[]; extern const char kTetherHostScansIgnoreWiredConnections[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const char kWaitForInitialPolicyFetchForTest[]; extern const char kWaitForInitialPolicyFetchForTest[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kWakeOnWifiPacket[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const char kUnfilteredBluetoothDevices[]; extern const char kUnfilteredBluetoothDevices[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
...@@ -219,9 +217,6 @@ extern const char kUpdateRequiredAueForTest[]; ...@@ -219,9 +217,6 @@ extern const char kUpdateRequiredAueForTest[];
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Returns true if the system should wake in response to wifi traffic.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool WakeOnWifiEnabled();
// Returns true if memory pressure handling is enabled. // Returns true if memory pressure handling is enabled.
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool MemoryPressureHandlingEnabled(); COMPONENT_EXPORT(CHROMEOS_CONSTANTS) bool MemoryPressureHandlingEnabled();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment