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

Unified Diff: content/common/child_process_messages.h

Issue 12389073: Collect tab timing information for use in telementry-based startup tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: formatting/compile fix Created 7 years, 9 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/child_process_messages.h
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h
index 4e3c8c771e02037c8d5c8914ed1995153ea5b28f..fa3357d048132271644a5bd1a4d22320db835b80 100644
--- a/content/common/child_process_messages.h
+++ b/content/common/child_process_messages.h
@@ -12,11 +12,17 @@
#include "base/tracked_objects.h"
#include "base/values.h"
#include "content/common/content_export.h"
+#include "content/common/tab_load_stats.h"
#include "googleurl/src/gurl.h"
#include "ipc/ipc_message_macros.h"
IPC_ENUM_TRAITS(tracked_objects::ThreadData::Status)
+IPC_STRUCT_TRAITS_BEGIN(content::TabLoadTime)
+ IPC_STRUCT_TRAITS_MEMBER(start_time)
+ IPC_STRUCT_TRAITS_MEMBER(stop_time)
+IPC_STRUCT_TRAITS_END()
+
IPC_STRUCT_TRAITS_BEGIN(tracked_objects::LocationSnapshot)
IPC_STRUCT_TRAITS_MEMBER(file_name)
IPC_STRUCT_TRAITS_MEMBER(function_name)
@@ -110,11 +116,17 @@ IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_ChildHistogramData,
// Request a histogram from the browser. The browser will send the histogram
// data only if it has been passed the command line flag
-// switches::kDomAutomationController.
+// switches::kStatsCollectionExtension.
IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_GetBrowserHistogram,
std::string, /* histogram_name */
std::string /* histogram_json */)
+// Get timing data for a given tab.
+IPC_SYNC_MESSAGE_CONTROL1_2(ChildProcessHostMsg_GetTabLoadTimingInformation,
+ int, /* routing_id */
+ content::TabLoadTime, /* tab_timing_data */
+ base::TimeTicks /* timer_start */)
+
// Reply to ChildProcessMsg_DumpHandles when handle table dump is complete.
IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_DumpHandlesDone)

Powered by Google App Engine
This is Rietveld 408576698