Commit d86c522b authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Remaining changes to build all code in src.git with -Wimplicit-fallthrough.

This CL was uploaded by git cl split.

R=patricialor@chromium.org

Bug: 177475
Change-Id: Idae699da611562f3d75fdd07c915265c204b74c7
Reviewed-on: https://chromium-review.googlesource.com/891884Reviewed-by: default avatarPatti <patricialor@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532681}
parent eb5996d0
......@@ -212,6 +212,7 @@ PageInfoUI::IdentityInfo::GetSecurityDescription() const {
// Internal pages on desktop have their own UI implementations which
// should never call this function.
NOTREACHED();
FALLTHROUGH;
case PageInfo::SITE_IDENTITY_STATUS_CERT:
case PageInfo::SITE_IDENTITY_STATUS_EV_CERT:
case PageInfo::SITE_IDENTITY_STATUS_CERT_REVOCATION_UNKNOWN:
......@@ -296,7 +297,7 @@ base::string16 PageInfoUI::PermissionActionToUIString(
button_text_ids = kPermissionButtonTextIDDefaultSetting;
break;
}
// Fallthrough.
FALLTHROUGH;
case content_settings::SETTING_SOURCE_POLICY:
case content_settings::SETTING_SOURCE_EXTENSION:
button_text_ids = kPermissionButtonTextIDUserManaged;
......
......@@ -56,6 +56,7 @@ PermissionMenuModel::PermissionMenuModel(Profile* profile,
break;
case CONTENT_SETTING_NUM_SETTINGS:
NOTREACHED();
break;
default:
break;
}
......
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