[sqlite_vfs] Split metrics by client
This change adds a sqlite_vfs::Client enum to the public API that is
used to select per-client SandboxedVfs histograms. This splits out
metrics by sqlite_vfs client.
OBSOLETE_HISTOGRAM[PersistentCache.SandboxedFile.LockStateOnAbandon]=Replaced with the per-client SandboxedVfs.LockStateOnAbandon.{VfsClient} patterned histogram.
OBSOLETE_HISTOGRAM[PersistentCache.Sqlite.LockResult]=Replaced with the per-client SandboxedVfs.LockResult.{VfsClient} patterned histogram.
OBSOLETE_HISTOGRAM[PersistentCache.Sqlite.DbFile.CreateResult]=Replaced with the per-client SandboxedVfs.DbFile.CreateResult.{VfsClient} patterned histogram.
OBSOLETE_HISTOGRAM[PersistentCache.Sqlite.JournalFile.CreateResult]=Replaced with the per-client SandboxedVfs.JournalFile.CreateResult.{VfsClient} patterned histogram.
OBSOLETE_HISTOGRAM[PersistentCache.Sqlite.WalJournalFile.CreateResult]=Replaced with the per-client SandboxedVfs.WalJournalFile.CreateResult.{VfsClient} patterned histogram.
OBSOLETE_HISTOGRAM[PersistentCache.Sqlite.DbFile.SetLengthResult]=Replaced with the per-client SandboxedVfs.DbFile.SetLengthResult.{VfsClient} patterned histogram.
OBSOLETE_HISTOGRAM[PersistentCache.Sqlite.JournalFile.SetLengthResult]=Replaced with the per-client SandboxedVfs.JournalFile.SetLengthResult.{VfsClient} patterned histogram.
OBSOLETE_HISTOGRAM[PersistentCache.Sqlite.WalJournalFile.SetLengthResult]=Replaced with the per-client SandboxedVfs.WalJournalFile.SetLengthResult.{VfsClient} patterned histogram.
OBSOLETE_HISTOGRAM[PersistentCache.ParamsManager.DbFile.DeleteSuccess]=Replaced with the per-client SandboxedVfs.DbFile.DeleteResult.{VfsClient} patterned histogram.
OBSOLETE_HISTOGRAM[PersistentCache.ParamsManager.JournalFile.DeleteSuccess]=Replaced with the per-client SandboxedVfs.JournalFile.DeleteResult.{VfsClient} patterned histogram.
OBSOLETE_HISTOGRAM[PersistentCache.ParamsManager.WalJournalFile.DeleteSuccess]=Replaced with the per-client SandboxedVfs.WalJournalFile.DeleteResult.{VfsClient} patterned histogram.
Bug: 377475540
Change-Id: I74f882dd16ee812a82c75a45e13acbf1a21f973b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7494301
Reviewed-by: Olivier Li <olivierli@chromium.org>
Reviewed-by: Kyle Charbonneau <kylechar@chromium.org>
Commit-Queue: Greg Thompson <grt@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1572268}
NOKEYCHECK=True
GitOrigin-RevId: 9e230f8df2f949147af79f73a233979e42cb3dda
1 file changed