Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5706)

Unified Diff: chrome/browser/net/predictor.cc

Issue 1456123002: Remove Remaining Predictor Jank Instrumentation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/predictor.cc
diff --git a/chrome/browser/net/predictor.cc b/chrome/browser/net/predictor.cc
index c435a8c42e1552334f025c5c16a57ecfcfa8f769..634abd4dad3740c185bbfda74e2b6011f410e31c 100644
--- a/chrome/browser/net/predictor.cc
+++ b/chrome/browser/net/predictor.cc
@@ -1043,15 +1043,7 @@ UrlInfo* Predictor::AppendToResolutionQueue(
return NULL;
}
- bool would_likely_proxy;
- {
- // TODO(ttuttle): Remove ScopedTracker below once crbug.com/436671 is fixed.
- tracked_objects::ScopedTracker tracking_profile(
- FROM_HERE_WITH_EXPLICIT_FUNCTION("436671 WouldLikelyProxyURL()"));
- would_likely_proxy = WouldLikelyProxyURL(url);
- }
-
- if (would_likely_proxy) {
+ if (WouldLikelyProxyURL(url)) {
info->DLogResultsStats("DNS PrefetchForProxiedRequest");
return NULL;
}
@@ -1098,15 +1090,7 @@ void Predictor::StartSomeQueuedResolutions() {
LookupRequest* request = new LookupRequest(this, host_resolver_, url);
- int status;
- {
- // TODO(ttuttle): Remove ScopedTracker below once crbug.com/436671 is
- // fixed.
- tracked_objects::ScopedTracker tracking_profile(
- FROM_HERE_WITH_EXPLICIT_FUNCTION("436671 LookupRequest::Start()"));
- status = request->Start();
- }
-
+ int status = request->Start();
if (status == net::ERR_IO_PENDING) {
// Will complete asynchronously.
pending_lookups_.insert(request);
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698