| Index: net/url_request/url_request_job.cc
|
| diff --git a/net/url_request/url_request_job.cc b/net/url_request/url_request_job.cc
|
| index cbefc9e3f06845da0fd14d2364426f4978dc93a8..98fe4a25b6f687a4ce76f1fdfd2984d4c8e0e2b6 100644
|
| --- a/net/url_request/url_request_job.cc
|
| +++ b/net/url_request/url_request_job.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <utility>
|
|
|
| +#include "base/trace_event/trace_event.h"
|
| #include "base/bind.h"
|
| #include "base/compiler_specific.h"
|
| #include "base/location.h"
|
| @@ -98,6 +99,8 @@ void URLRequestJob::SetPriority(RequestPriority priority) {
|
| }
|
|
|
| void URLRequestJob::Kill() {
|
| + TRACE_EVENT0("toplevel", "URLRequestJob::Kill");
|
| +
|
| weak_factory_.InvalidateWeakPtrs();
|
| // Make sure the URLRequest is notified that the job is done. This assumes
|
| // that the URLRequest took care of setting its error status before calling
|
| @@ -364,6 +367,7 @@ void URLRequestJob::NotifySSLCertificateError(const SSLInfo& ssl_info,
|
| }
|
|
|
| bool URLRequestJob::CanGetCookies(const CookieList& cookie_list) const {
|
| + TRACE_EVENT0("toplevel", "URLRequestJob::CanGetCookies");
|
| return request_->CanGetCookies(cookie_list);
|
| }
|
|
|
| @@ -381,6 +385,7 @@ void URLRequestJob::NotifyBeforeNetworkStart(bool* defer) {
|
| }
|
|
|
| void URLRequestJob::NotifyHeadersComplete() {
|
| + TRACE_EVENT0("toplevel", "URLRequestJob::NotifyHeadersComplete");
|
| if (has_handled_response_)
|
| return;
|
|
|
|
|