Commit 088c8c59 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=sdefresne@chromium.org

Bug: 177475
Change-Id: Iae7090f66ed567d16e3c3174949a4399b3ca6ad9
Reviewed-on: https://chromium-review.googlesource.com/891879Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532864}
parent d57ba45f
......@@ -648,7 +648,8 @@ void HistoryBackend::InitImpl(
// The frequency of this UMA will indicate how often history
// initialization fails.
UMA_HISTOGRAM_BOOLEAN("History.AttemptedToFixProfileError", kill_db);
} // Falls through.
FALLTHROUGH;
}
case sql::INIT_TOO_NEW: {
db_diagnostics_ += sql::GetCorruptFileDiagnosticsInfo(history_name);
delegate_->NotifyProfileError(status, db_diagnostics_);
......
......@@ -1373,6 +1373,7 @@ TEST_F(HistoryBackendTest, AddPageVisitSource) {
break;
case history::SOURCE_SYNCED:
sources |= 0x4;
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