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

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

Issue 2005273002: Move MimeTypeResourceHandler before ThrottlingResourceHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed compilation error on Mac 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
Index: chrome/browser/renderer_host/safe_browsing_resource_throttle.cc
diff --git a/chrome/browser/renderer_host/safe_browsing_resource_throttle.cc b/chrome/browser/renderer_host/safe_browsing_resource_throttle.cc
index d61f3cb3bc4e1d5afb37f65e749ac96b84b78e1c..8210b0b618fcc91d495c6c06698762f8dd758627 100644
--- a/chrome/browser/renderer_host/safe_browsing_resource_throttle.cc
+++ b/chrome/browser/renderer_host/safe_browsing_resource_throttle.cc
@@ -169,6 +169,10 @@ void SafeBrowsingResourceThrottle::WillProcessResponse(bool* defer) {
}
}
+bool SafeBrowsingResourceThrottle::MustProcessResponseBeforeReadingBody() {
+ return true;
mmenke 2016/08/19 16:33:02 Also, if we have any SafeBrowsing integration test
mmenke 2016/08/19 16:33:02 Think this needs an explanatory comment.
clamy 2016/09/01 23:19:40 Added a comment.
clamy 2016/09/01 23:19:40 Considering that we now have a unit test to check
+}
+
void SafeBrowsingResourceThrottle::WillRedirectRequest(
const net::RedirectInfo& redirect_info,
bool* defer) {

Powered by Google App Engine
This is Rietveld 408576698