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

Unified Diff: components/startup_metric_utils/common/startup_metric_messages.h

Issue 1413533008: Add UMA metric: Startup.BrowserMainToRendererMain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: components/startup_metric_utils/common/startup_metric_messages.h
diff --git a/components/startup_metric_utils/common/startup_metric_messages.h b/components/startup_metric_utils/common/startup_metric_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..ff4e58e44a4d2e2f846d1d970a752d4f97100bef
--- /dev/null
+++ b/components/startup_metric_utils/common/startup_metric_messages.h
@@ -0,0 +1,12 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
gab 2015/11/06 18:05:17 You'll also need an OWNERS file to add the typical
fdoray 2015/11/09 15:53:56 Acknowledged.
gab 2015/11/09 16:21:35 I meant that you'll need to add that OWNERS file y
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include <stdint.h>
+
+#include "ipc/ipc_message_macros.h"
+
+#define IPC_MESSAGE_START StartupMetricMsgStart
+
+IPC_MESSAGE_CONTROL1(StartupMetricHostMsg_RecordRendererMainEntryTime,
+ int64_t /* renderer_main_entry_time */)

Powered by Google App Engine
This is Rietveld 408576698