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

Unified Diff: net/url_request/url_request_http_job.cc

Issue 1834273002: Add TRACE_EVENT macros to net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: net/url_request/url_request_http_job.cc
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
index 9cc020974e82620b41f77f429e293e92d8e8e7f7..c8209896e9074d57108beacd261c021247a8fd14 100644
--- a/net/url_request/url_request_http_job.cc
+++ b/net/url_request/url_request_http_job.cc
@@ -20,6 +20,7 @@
#include "base/strings/string_util.h"
#include "base/thread_task_runner_handle.h"
#include "base/time/time.h"
+#include "base/trace_event/trace_event.h"
#include "base/values.h"
#include "net/base/host_port_pair.h"
#include "net/base/load_flags.h"
@@ -1062,6 +1063,7 @@ void URLRequestHttpJob::OnHeadersReceivedCallback(int result) {
}
void URLRequestHttpJob::OnReadCompleted(int result) {
+ TRACE_EVENT0("net", "URLRequestHttpJob::OnReadCompleted");
mmenke 2016/03/28 20:46:51 What do you expect to do with the information you
ssid 2016/03/29 00:33:06 I am expecting that this data is useful to underst
read_in_progress_ = false;
DCHECK_NE(ERR_IO_PENDING, result);
« net/http/http_stream_factory_impl_job.cc ('K') | « net/url_request/url_fetcher_core.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698