| Index: net/http/http_network_transaction.cc
|
| diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
|
| index 532f9de0692eeaddfe980c4f913250c9e9328158..a7e248b4f731801d00bf1258a4e9bd2a6e703152 100644
|
| --- a/net/http/http_network_transaction.cc
|
| +++ b/net/http/http_network_transaction.cc
|
| @@ -15,6 +15,7 @@
|
| #include "base/metrics/field_trial.h"
|
| #include "base/metrics/histogram.h"
|
| #include "base/metrics/stats_counters.h"
|
| +#include "base/profiler/scoped_profile.h"
|
| #include "base/stl_util.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_util.h"
|
| @@ -597,7 +598,18 @@ void HttpNetworkTransaction::DoCallback(int rv) {
|
| }
|
|
|
| void HttpNetworkTransaction::OnIOComplete(int result) {
|
| + // TODO(vadimt): Remove ScopedProfile below once crbug.com/424359 is fixed.
|
| + tracked_objects::ScopedProfile tracking_profile1(
|
| + FROM_HERE_WITH_EXPLICIT_FUNCTION(
|
| + "424359 HttpNetworkTransaction::OnIOComplete 1"));
|
| +
|
| int rv = DoLoop(result);
|
| +
|
| + // TODO(vadimt): Remove ScopedProfile below once crbug.com/424359 is fixed.
|
| + tracked_objects::ScopedProfile tracking_profile2(
|
| + FROM_HERE_WITH_EXPLICIT_FUNCTION(
|
| + "424359 HttpNetworkTransaction::OnIOComplete 2"));
|
| +
|
| if (rv != ERR_IO_PENDING)
|
| DoCallback(rv);
|
| }
|
|
|