Chromium Code Reviews| Index: content/child/resource_dispatcher.cc |
| diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc |
| index f9eae9aa6f43db5cd7cf638afa9a0af6fbace516..3a36fe783dd60d526e14193a979afa8d7f7e1c99 100644 |
| --- a/content/child/resource_dispatcher.cc |
| +++ b/content/child/resource_dispatcher.cc |
| @@ -150,7 +150,8 @@ void ResourceDispatcher::OnUploadProgress(int request_id, int64 position, |
| void ResourceDispatcher::OnReceivedResponse( |
| int request_id, const ResourceResponseHead& response_head) { |
| - TRACE_EVENT0("loader", "ResourceDispatcher::OnReceivedResponse"); |
| + TRACE_EVENT0("loader,devtools.timeline", |
| + "ResourceDispatcher::OnReceivedResponse"); |
|
caseq
2015/11/06 19:37:47
If we start exposing this in devtools trace, can w
alph
2015/11/06 21:04:51
We can't change this name as it seems to be used e
|
| PendingRequestInfo* request_info = GetPendingRequestInfo(request_id); |
| if (!request_info) |
| return; |
| @@ -226,7 +227,8 @@ void ResourceDispatcher::OnReceivedData(int request_id, |
| int data_offset, |
| int data_length, |
| int encoded_data_length) { |
| - TRACE_EVENT0("loader", "ResourceDispatcher::OnReceivedData"); |
| + TRACE_EVENT0("loader,devtools.timeline", |
| + "ResourceDispatcher::OnReceivedData"); |
| DCHECK_GT(data_length, 0); |
| PendingRequestInfo* request_info = GetPendingRequestInfo(request_id); |
| bool send_ack = true; |
| @@ -347,7 +349,8 @@ void ResourceDispatcher::FollowPendingRedirect( |
| void ResourceDispatcher::OnRequestComplete( |
| int request_id, |
| const ResourceMsg_RequestCompleteData& request_complete_data) { |
| - TRACE_EVENT0("loader", "ResourceDispatcher::OnRequestComplete"); |
| + TRACE_EVENT0("loader,devtools.timeline", |
| + "ResourceDispatcher::OnRequestComplete"); |
| PendingRequestInfo* request_info = GetPendingRequestInfo(request_id); |
| if (!request_info) |