| Index: content/child/blob_storage/webblobregistry_impl.cc
|
| diff --git a/content/child/blob_storage/webblobregistry_impl.cc b/content/child/blob_storage/webblobregistry_impl.cc
|
| index a1ef5bec59a67a9dac487332357d30ed32c6d922..9aae4f10fa679381000b7b0f746e9f609eaeb585 100644
|
| --- a/content/child/blob_storage/webblobregistry_impl.cc
|
| +++ b/content/child/blob_storage/webblobregistry_impl.cc
|
| @@ -12,6 +12,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/shared_memory.h"
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/metrics/histogram_macros.h"
|
| #include "base/numerics/safe_conversions.h"
|
| #include "base/trace_event/trace_event.h"
|
| #include "content/child/blob_storage/blob_consolidation.h"
|
| @@ -111,7 +112,13 @@ void WebBlobRegistryImpl::removeBlobDataRef(const WebString& uuid) {
|
|
|
| void WebBlobRegistryImpl::registerPublicBlobURL(const WebURL& url,
|
| const WebString& uuid) {
|
| + // Measure how much jank this synchronous IPC is introducing.
|
| + base::TimeTicks time_before = base::TimeTicks::Now();
|
| +
|
| sender_->Send(new BlobHostMsg_RegisterPublicURL(url, uuid.utf8()));
|
| +
|
| + base::TimeDelta time_delta = base::TimeTicks::Now() - time_before;
|
| + UMA_HISTOGRAM_TIMES("Storage.Blob.RegisterPublicURLTime", time_delta);
|
| }
|
|
|
| void WebBlobRegistryImpl::revokePublicBlobURL(const WebURL& url) {
|
|
|