| Index: net/proxy/proxy_script_fetcher_impl.cc
|
| diff --git a/net/proxy/proxy_script_fetcher_impl.cc b/net/proxy/proxy_script_fetcher_impl.cc
|
| index 8ef777abe05595d05acf02ef9edec7d600b881fb..1b9ed9fe782c8753e136d6925f1c3f9db122a855 100644
|
| --- a/net/proxy/proxy_script_fetcher_impl.cc
|
| +++ b/net/proxy/proxy_script_fetcher_impl.cc
|
| @@ -7,7 +7,6 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/logging.h"
|
| #include "base/message_loop/message_loop.h"
|
| -#include "base/profiler/scoped_tracker.h"
|
| #include "base/strings/string_util.h"
|
| #include "net/base/data_url.h"
|
| #include "net/base/io_buffer.h"
|
| @@ -115,11 +114,6 @@ void ProxyScriptFetcherImpl::OnResponseCompleted(URLRequest* request) {
|
|
|
| int ProxyScriptFetcherImpl::Fetch(
|
| const GURL& url, base::string16* text, const CompletionCallback& callback) {
|
| - // TODO(eroman): Remove ScopedTracker below once crbug.com/455942 is fixed.
|
| - tracked_objects::ScopedTracker tracking_profile1(
|
| - FROM_HERE_WITH_EXPLICIT_FUNCTION(
|
| - "455942 ProxyScriptFetcherImpl::Fetch (Other)"));
|
| -
|
| // It is invalid to call Fetch() while a request is already in progress.
|
| DCHECK(!cur_request_.get());
|
| DCHECK(!callback.is_null());
|
| @@ -127,10 +121,6 @@ int ProxyScriptFetcherImpl::Fetch(
|
|
|
| // Handle base-64 encoded data-urls that contain custom PAC scripts.
|
| if (url.SchemeIs("data")) {
|
| - // TODO(eroman): Remove ScopedTracker below once crbug.com/455942 is fixed.
|
| - tracked_objects::ScopedTracker tracking_profile2(
|
| - FROM_HERE_WITH_EXPLICIT_FUNCTION(
|
| - "455942 ProxyScriptFetcherImpl::Fetch (data url)"));
|
| std::string mime_type;
|
| std::string charset;
|
| std::string data;
|
| @@ -166,11 +156,6 @@ int ProxyScriptFetcherImpl::Fetch(
|
| // Post a task to timeout this request if it takes too long.
|
| cur_request_id_ = ++next_id_;
|
|
|
| - // TODO(eroman): Remove ScopedTracker below once crbug.com/455942 is fixed.
|
| - tracked_objects::ScopedTracker tracking_profile3(
|
| - FROM_HERE_WITH_EXPLICIT_FUNCTION(
|
| - "455942 ProxyScriptFetcherImpl::Fetch (PostDelayedTask)"));
|
| -
|
| base::MessageLoop::current()->PostDelayedTask(
|
| FROM_HERE,
|
| base::Bind(&ProxyScriptFetcherImpl::OnTimeout,
|
|
|