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

Unified Diff: content/common/cc_messages.h

Issue 13874002: Switch LatencyInfo struct to use a map. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: prevent division by zero Created 7 years, 8 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
« cc/debug/latency_info.cc ('K') | « cc/debug/latency_info.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cc_messages.h
diff --git a/content/common/cc_messages.h b/content/common/cc_messages.h
index 4b11d9b2c71aa4db80a74bc83a6f5092667acde9..04d757601f5c4510fbe81fc2375e9136383c1499 100644
--- a/content/common/cc_messages.h
+++ b/content/common/cc_messages.h
@@ -108,6 +108,7 @@ struct CONTENT_EXPORT ParamTraits<cc::DelegatedFrameData> {
IPC_ENUM_TRAITS(cc::DrawQuad::Material)
IPC_ENUM_TRAITS(cc::IOSurfaceDrawQuad::Orientation)
+IPC_ENUM_TRAITS(cc::LatencyComponentType)
IPC_ENUM_TRAITS(WebKit::WebFilterOperation::FilterType)
IPC_STRUCT_TRAITS_BEGIN(cc::RenderPass::Id)
@@ -211,11 +212,14 @@ IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource)
IPC_STRUCT_TRAITS_MEMBER(mailbox)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(cc::LatencyInfo::LatencyComponent)
+ IPC_STRUCT_TRAITS_MEMBER(sequence_number)
+ IPC_STRUCT_TRAITS_MEMBER(event_time)
+ IPC_STRUCT_TRAITS_MEMBER(event_count)
+IPC_STRUCT_TRAITS_END()
+
IPC_STRUCT_TRAITS_BEGIN(cc::LatencyInfo)
- IPC_STRUCT_TRAITS_MEMBER(renderer_main_frame_number)
- IPC_STRUCT_TRAITS_MEMBER(renderer_impl_frame_number)
- IPC_STRUCT_TRAITS_MEMBER(browser_main_frame_number)
- IPC_STRUCT_TRAITS_MEMBER(browser_impl_frame_number)
+ IPC_STRUCT_TRAITS_MEMBER(latency_components)
IPC_STRUCT_TRAITS_MEMBER(swap_timestamp)
IPC_STRUCT_TRAITS_END()
« cc/debug/latency_info.cc ('K') | « cc/debug/latency_info.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698