Commit 1c64f9a2 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=bauerb@chromium.org

Bug: 177475
Change-Id: I83ec9e5eab7e96de49808c6ce1506aef1ea9bd55
Reviewed-on: https://chromium-review.googlesource.com/891902Reviewed-by: default avatarBernhard Bauer <bauerb@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532845}
parent a4690a60
...@@ -688,18 +688,16 @@ class PrefHashBrowserTestUntrustedInitialized : public PrefHashBrowserTestBase { ...@@ -688,18 +688,16 @@ class PrefHashBrowserTestUntrustedInitialized : public PrefHashBrowserTestBase {
// the previous one. // the previous one.
switch (protection_level_) { switch (protection_level_) {
case PROTECTION_ENABLED_ALL: case PROTECTION_ENABLED_ALL:
// Falls through.
case PROTECTION_ENABLED_EXTENSIONS: case PROTECTION_ENABLED_EXTENSIONS:
++num_protected_prefs; ++num_protected_prefs;
// Falls through. FALLTHROUGH;
case PROTECTION_ENABLED_DSE: case PROTECTION_ENABLED_DSE:
++num_protected_prefs; ++num_protected_prefs;
// Falls through. FALLTHROUGH;
case PROTECTION_ENABLED_BASIC: case PROTECTION_ENABLED_BASIC:
num_protected_prefs += num_tracked_prefs() - num_null_values - 2; num_protected_prefs += num_tracked_prefs() - num_null_values - 2;
// Falls through. FALLTHROUGH;
case PROTECTION_DISABLED_FOR_GROUP: case PROTECTION_DISABLED_FOR_GROUP:
// No protection. Falls through.
case PROTECTION_DISABLED_ON_PLATFORM: case PROTECTION_DISABLED_ON_PLATFORM:
// No protection. // No protection.
break; 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