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

Unified Diff: content/child/blob_storage/blob_transport_controller.cc

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Add missing ScopedAsyncTaskScheduler instance for the new unit tests; required by a recent change t… Created 3 years, 10 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: content/child/blob_storage/blob_transport_controller.cc
diff --git a/content/child/blob_storage/blob_transport_controller.cc b/content/child/blob_storage/blob_transport_controller.cc
index 1b01792079edee0775759258403c09ecddfb653d..4f6d14543d70fd2e2b276d135db836cf4f8bb764 100644
--- a/content/child/blob_storage/blob_transport_controller.cc
+++ b/content/child/blob_storage/blob_transport_controller.cc
@@ -181,6 +181,10 @@ void BlobTransportController::InitiateBlobTransfer(
base::Unretained(BlobTransportController::GetInstance()), uuid,
base::Passed(std::move(consolidation)),
base::Passed(std::move(main_runner))));
+
+ // Measure how much jank the following synchronous IPC introduces.
+ SCOPED_UMA_HISTOGRAM_TIMER("Storage.Blob.RegisterBlobTime");
+
sender->Send(
new BlobStorageMsg_RegisterBlob(uuid, content_type, "", descriptions));
}
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/child/blob_storage/blob_transport_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698