| Index: components/safe_browsing_db/v4_local_database_manager.cc
|
| diff --git a/components/safe_browsing_db/v4_local_database_manager.cc b/components/safe_browsing_db/v4_local_database_manager.cc
|
| index 8235225a81ab2b3d9a8a548023a5d3a95249218a..c591dead89f72cd0cdfc26936dad9f1429f7b7d7 100644
|
| --- a/components/safe_browsing_db/v4_local_database_manager.cc
|
| +++ b/components/safe_browsing_db/v4_local_database_manager.cc
|
| @@ -298,6 +298,8 @@ void V4LocalDatabaseManager::DatabaseReadyForChecks(
|
| if (enabled_) {
|
| v4_database_ = std::move(v4_database);
|
|
|
| + v4_database_->RecordFileSizeHistograms();
|
| +
|
| // The consistency of the stores read from the disk needs to verified. Post
|
| // that task on the task runner. It calls |DatabaseReadyForUpdates|
|
| // callback with the stores to reset, if any, and then we can schedule the
|
| @@ -326,6 +328,7 @@ void V4LocalDatabaseManager::DatabaseReadyForUpdates(
|
|
|
| void V4LocalDatabaseManager::DatabaseUpdated() {
|
| if (enabled_) {
|
| + v4_database_->RecordFileSizeHistograms();
|
| v4_update_protocol_manager_->ScheduleNextUpdate(
|
| v4_database_->GetStoreStateMap());
|
| }
|
|
|