| Index: components/history/core/browser/history_backend.cc
|
| diff --git a/components/history/core/browser/history_backend.cc b/components/history/core/browser/history_backend.cc
|
| index 3c38c2de9ae0cd87bd409be258889e44b1e3fb1d..dd82dc4419730dc73f44975632b8f5946ee862f4 100644
|
| --- a/components/history/core/browser/history_backend.cc
|
| +++ b/components/history/core/browser/history_backend.cc
|
| @@ -651,6 +651,9 @@ void HistoryBackend::InitImpl(
|
| bool kill_db = scheduled_kill_db_;
|
| if (kill_db)
|
| KillHistoryDatabase();
|
| +
|
| + // The frequency of this UMA will indicate how often history
|
| + // initialization fails.
|
| UMA_HISTOGRAM_BOOLEAN("History.AttemptedToFixProfileError", kill_db);
|
| } // Falls through.
|
| case sql::INIT_TOO_NEW: {
|
|
|