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

Unified Diff: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc

Issue 2282523002: Cleanup by removing thread hop resource throttle code; experiment's over. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove stale include reference. Created 4 years, 4 months 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/renderer_host/thread_hop_resource_throttle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
diff --git a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
index e56c24f6fe5572997b93a6427739c0eb68c48df7..f571e36b217d2901e24353d7ff876dcea8acca57 100644
--- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
+++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
@@ -34,7 +34,6 @@
#include "chrome/browser/renderer_host/chrome_navigation_data.h"
#include "chrome/browser/renderer_host/predictor_resource_throttle.h"
#include "chrome/browser/renderer_host/safe_browsing_resource_throttle.h"
-#include "chrome/browser/renderer_host/thread_hop_resource_throttle.h"
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#include "chrome/browser/search/search.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
@@ -646,9 +645,6 @@ void ChromeResourceDispatcherHostDelegate::AppendStandardResourceThrottles(
throttles->push_back(new prerender::PrerenderResourceThrottle(request));
}
- if (ThreadHopResourceThrottle::IsEnabled())
- throttles->push_back(new ThreadHopResourceThrottle);
-
std::unique_ptr<PredictorResourceThrottle> predictor_throttle =
PredictorResourceThrottle::MaybeCreate(request, io_data);
if (predictor_throttle)
« no previous file with comments | « no previous file | chrome/browser/renderer_host/thread_hop_resource_throttle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698