Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1789)

Unified Diff: components/safe_browsing_db/v4_database.h

Issue 2447443002: Log the size of each of the stores and complete DB on launch and after each (Closed)
Patch Set: shess@'s review Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/safe_browsing_db/v4_database.h
diff --git a/components/safe_browsing_db/v4_database.h b/components/safe_browsing_db/v4_database.h
index 9c2e40541efb72fb0f25c5265c4eb43562717200..28fa330631eff2b64ce03138b9126eb22d3ae1dc 100644
--- a/components/safe_browsing_db/v4_database.h
+++ b/components/safe_browsing_db/v4_database.h
@@ -136,6 +136,10 @@ class V4Database {
void VerifyChecksum(
DatabaseReadyForUpdatesCallback db_ready_for_updates_callback);
+ // Records the size of each of the stores managed by this database, along
+ // with the combined size of all the stores.
+ void RecordFileSizeHistograms();
+
protected:
V4Database(const scoped_refptr<base::SequencedTaskRunner>& db_task_runner,
std::unique_ptr<StoreMap> store_map);

Powered by Google App Engine
This is Rietveld 408576698