Commit 36e087c4 authored by Takuto Ikuta's avatar Takuto Ikuta Committed by Commit Bot

Remove -Wno-enum-compare-switch flag

This CL is part of
https://chromium-review.googlesource.com/c/chromium/src/+/1286016

This CL was uploaded by git cl split.

R=sdefresne@chromium.org

Bug: 753973
Change-Id: Ia8531202caddd46a45169eae9b5b8af77585ab80
Reviewed-on: https://chromium-review.googlesource.com/c/1288173Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#600758}
parent 955f0598
......@@ -29,13 +29,13 @@ bool WifiSecurityClassSupportsPassphrases(
WifiSecurityClass WifiSecurityClassFromSyncSecurityClass(
const sync_pb::WifiCredentialSpecifics_SecurityClass sync_enum) {
switch (sync_enum) {
case SECURITY_CLASS_INVALID:
case sync_pb::WifiCredentialSpecifics_SecurityClass_SECURITY_CLASS_INVALID:
return WifiSecurityClass::SECURITY_CLASS_INVALID;
case SECURITY_CLASS_NONE:
case sync_pb::WifiCredentialSpecifics_SecurityClass_SECURITY_CLASS_NONE:
return WifiSecurityClass::SECURITY_CLASS_NONE;
case SECURITY_CLASS_WEP:
case sync_pb::WifiCredentialSpecifics_SecurityClass_SECURITY_CLASS_WEP:
return WifiSecurityClass::SECURITY_CLASS_WEP;
case SECURITY_CLASS_PSK:
case sync_pb::WifiCredentialSpecifics_SecurityClass_SECURITY_CLASS_PSK:
return WifiSecurityClass::SECURITY_CLASS_PSK;
}
NOTREACHED() << "Invalid sync security class enum with value " << sync_enum;
......
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