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

Unified Diff: content/public/browser/resource_dispatcher_host_delegate.cc

Issue 953793003: Ensuring interception of stream get determined by plugin path before checking mime type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: content/public/browser/resource_dispatcher_host_delegate.cc
diff --git a/content/public/browser/resource_dispatcher_host_delegate.cc b/content/public/browser/resource_dispatcher_host_delegate.cc
index b1b69602bdd3b72032e24a53b9e117bd9cc2d719..50e106db2bca1191042022887fceb3296268299c 100644
--- a/content/public/browser/resource_dispatcher_host_delegate.cc
+++ b/content/public/browser/resource_dispatcher_host_delegate.cc
@@ -55,6 +55,7 @@ bool ResourceDispatcherHostDelegate::ShouldForceDownloadResource(
}
bool ResourceDispatcherHostDelegate::ShouldInterceptResourceAsStream(
+ const base::FilePath& file_path,
raymes 2015/03/12 05:21:03 plugin_path
Deepak 2015/03/12 12:33:18 Done.
net::URLRequest* request,
const std::string& mime_type,
GURL* origin,

Powered by Google App Engine
This is Rietveld 408576698