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

Unified Diff: content/common/view_messages.h

Issue 10451076: Adding UMA for sync IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: histogram Created 8 years, 7 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index a63d0c76c6074b1c37f070ff1c486f4a9ec0299f..8b1e851ac967ce55ad983b8ccdd0966ca82c067f 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -2041,6 +2041,10 @@ IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen,
IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
std::string /* action */)
+// Send back the elapsed time for sync IPC to be recorded by histogram.
+IPC_MESSAGE_CONTROL1(ViewHostMsg_SyncIPCElapsedTime,
+ base::TimeDelta /* millisecons */)
+
// Notifies the browser that the page was or was not saved as MHTML.
IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML,
int /* job_id */,

Powered by Google App Engine
This is Rietveld 408576698