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

Unified Diff: ui/events/ipc/latency_info_param_traits.cc

Issue 2394593002: revert "SourceEventType added to LatencyInfo." (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « ui/events/event_unittest.cc ('k') | ui/events/ipc/latency_info_param_traits_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ipc/latency_info_param_traits.cc
diff --git a/ui/events/ipc/latency_info_param_traits.cc b/ui/events/ipc/latency_info_param_traits.cc
index a5489afbdc93fb88bd629d1f984952b4b3b7a9c2..2a689a0dccd91d04df1806ee92ee6a38b2d937f4 100644
--- a/ui/events/ipc/latency_info_param_traits.cc
+++ b/ui/events/ipc/latency_info_param_traits.cc
@@ -49,7 +49,6 @@ void ParamTraits<ui::LatencyInfo>::GetSize(base::PickleSizer* s,
}
GetParamSize(s, p.trace_id_);
GetParamSize(s, p.terminated_);
- GetParamSize(s, p.source_event_type_);
}
void ParamTraits<ui::LatencyInfo>::Write(base::Pickle* m, const param_type& p) {
@@ -61,7 +60,6 @@ void ParamTraits<ui::LatencyInfo>::Write(base::Pickle* m, const param_type& p) {
}
WriteParam(m, p.trace_id_);
WriteParam(m, p.terminated_);
- WriteParam(m, p.source_event_type_);
}
bool ParamTraits<ui::LatencyInfo>::Read(const base::Pickle* m,
@@ -87,8 +85,6 @@ bool ParamTraits<ui::LatencyInfo>::Read(const base::Pickle* m,
return false;
if (!ReadParam(m, iter, &p->terminated_))
return false;
- if (!ReadParam(m, iter, &p->source_event_type_))
- return false;
return true;
}
@@ -108,8 +104,6 @@ void ParamTraits<ui::LatencyInfo>::Log(const param_type& p,
LogParam(p.trace_id_, l);
l->append(" ");
LogParam(p.terminated_, l);
- l->append(" ");
- LogParam(p.source_event_type_, l);
}
} // namespace IPC
« no previous file with comments | « ui/events/event_unittest.cc ('k') | ui/events/ipc/latency_info_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698