Index: net/http/http_stream_parser.cc |
diff --git a/net/http/http_stream_parser.cc b/net/http/http_stream_parser.cc |
index 8cd876f43e238c81f17d128e66d765035922ffa8..b998986723f3d0452925ed43e4589edea403fa44 100644 |
--- a/net/http/http_stream_parser.cc |
+++ b/net/http/http_stream_parser.cc |
@@ -7,7 +7,7 @@ |
#include "base/bind.h" |
#include "base/compiler_specific.h" |
#include "base/logging.h" |
-#include "base/profiler/scoped_profile.h" |
+#include "base/profiler/scoped_tracker.h" |
#include "base/strings/string_util.h" |
#include "base/values.h" |
#include "net/base/io_buffer.h" |
@@ -358,8 +358,8 @@ int HttpStreamParser::ReadResponseBody(IOBuffer* buf, int buf_len, |
} |
void HttpStreamParser::OnIOComplete(int result) { |
- // TODO(vadimt): Remove ScopedProfile below once crbug.com/418183 is fixed. |
- tracked_objects::ScopedProfile tracking_profile( |
+ // TODO(vadimt): Remove ScopedTracker below once crbug.com/418183 is fixed. |
+ tracked_objects::ScopedTracker tracking_profile( |
FROM_HERE_WITH_EXPLICIT_FUNCTION( |
"418183 DidCompleteReadWrite => HttpStreamParser::OnIOComplete")); |
@@ -368,8 +368,8 @@ void HttpStreamParser::OnIOComplete(int result) { |
// The client callback can do anything, including destroying this class, |
// so any pending callback must be issued after everything else is done. |
if (result != ERR_IO_PENDING && !callback_.is_null()) { |
- // TODO(vadimt): Remove ScopedProfile below once crbug.com/424359 is fixed. |
- tracked_objects::ScopedProfile tracking_profile( |
+ // TODO(vadimt): Remove ScopedTracker below once crbug.com/424359 is fixed. |
+ tracked_objects::ScopedTracker tracking_profile( |
FROM_HERE_WITH_EXPLICIT_FUNCTION( |
"424359 HttpStreamParser::OnIOComplete callback")); |
@@ -380,8 +380,8 @@ void HttpStreamParser::OnIOComplete(int result) { |
} |
int HttpStreamParser::DoLoop(int result) { |
- // TODO(vadimt): Remove ScopedProfile below once crbug.com/424359 is fixed. |
- tracked_objects::ScopedProfile tracking_profile( |
+ // TODO(vadimt): Remove ScopedTracker below once crbug.com/424359 is fixed. |
+ tracked_objects::ScopedTracker tracking_profile( |
FROM_HERE_WITH_EXPLICIT_FUNCTION("424359 HttpStreamParser::DoLoop")); |
do { |