diff options
author | dmurph <dmurph@chromium.org> | 2015-01-09 15:56:18 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-09 23:57:06 +0000 |
commit | 4ab290eb5456785c79725e71719c9257dd2212bb (patch) | |
tree | 6a29f3c3d899e21a0be3ba4b824cffb2a079dbb7 /storage | |
parent | 5a7ed7c7052235f3fa7dede4c143a08b2478519a (diff) | |
download | chromium_src-4ab290eb5456785c79725e71719c9257dd2212bb.zip chromium_src-4ab290eb5456785c79725e71719c9257dd2212bb.tar.gz chromium_src-4ab290eb5456785c79725e71719c9257dd2212bb.tar.bz2 |
[Storage] Added blob items count histogram
R=asvitkine, michaeln
BUG=375297
Review URL: https://codereview.chromium.org/826373003
Cr-Commit-Position: refs/heads/master@{#310897}
Diffstat (limited to 'storage')
-rw-r--r-- | storage/browser/blob/blob_storage_context.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/browser/blob/blob_storage_context.cc b/storage/browser/blob/blob_storage_context.cc index 9c72518..cedaa41 100644 --- a/storage/browser/blob/blob_storage_context.cc +++ b/storage/browser/blob/blob_storage_context.cc @@ -202,6 +202,8 @@ void BlobStorageContext::FinishBuildingBlob( return; found->second.data->set_content_type(content_type); found->second.flags &= ~BEING_BUILT; + UMA_HISTOGRAM_COUNTS("Storage.Blob.ItemCount", + found->second.data->items().size()); UMA_HISTOGRAM_BOOLEAN( "Storage.Blob.ExceededMemory", (found->second.flags & EXCEEDED_MEMORY) == EXCEEDED_MEMORY); |