| Index: net/url_request/url_fetcher_core.cc
|
| diff --git a/net/url_request/url_fetcher_core.cc b/net/url_request/url_fetcher_core.cc
|
| index aae47d932995ec63aad6361388fdc476657a6244..23399f3ae710c07e40c96769caa528a976cab491 100644
|
| --- a/net/url_request/url_fetcher_core.cc
|
| +++ b/net/url_request/url_fetcher_core.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/bind.h"
|
| #include "base/logging.h"
|
| #include "base/metrics/histogram.h"
|
| +#include "base/profiler/scoped_tracker.h"
|
| #include "base/sequenced_task_runner.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/stl_util.h"
|
| @@ -389,6 +390,11 @@ void URLFetcherCore::OnReceivedRedirect(URLRequest* request,
|
| }
|
|
|
| void URLFetcherCore::OnResponseStarted(URLRequest* request) {
|
| + // TODO(vadimt): Remove ScopedTracker below once crbug.com/423948 is fixed.
|
| + tracked_objects::ScopedTracker tracking_profile(
|
| + FROM_HERE_WITH_EXPLICIT_FUNCTION(
|
| + "423948 URLFetcherCore::OnResponseStarted"));
|
| +
|
| DCHECK_EQ(request, request_.get());
|
| DCHECK(network_task_runner_->BelongsToCurrentThread());
|
| if (request_->status().is_success()) {
|
| @@ -417,6 +423,11 @@ void URLFetcherCore::OnCertificateRequested(
|
|
|
| void URLFetcherCore::OnReadCompleted(URLRequest* request,
|
| int bytes_read) {
|
| + // TODO(vadimt): Remove ScopedTracker below once crbug.com/423948 is fixed.
|
| + tracked_objects::ScopedTracker tracking_profile(
|
| + FROM_HERE_WITH_EXPLICIT_FUNCTION(
|
| + "423948 URLFetcherCore::OnReadCompleted"));
|
| +
|
| DCHECK(request == request_);
|
| DCHECK(network_task_runner_->BelongsToCurrentThread());
|
|
|
|
|