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

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: Addressing nits. Created 5 years, 8 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 | « content/public/browser/resource_dispatcher_host_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6bb4f0af43806bc1f8e5fcb3a97a9d9c82c79e9d 100644
--- a/content/public/browser/resource_dispatcher_host_delegate.cc
+++ b/content/public/browser/resource_dispatcher_host_delegate.cc
@@ -56,6 +56,7 @@ bool ResourceDispatcherHostDelegate::ShouldForceDownloadResource(
bool ResourceDispatcherHostDelegate::ShouldInterceptResourceAsStream(
net::URLRequest* request,
+ const base::FilePath& plugin_path,
const std::string& mime_type,
GURL* origin,
std::string* payload) {
« no previous file with comments | « content/public/browser/resource_dispatcher_host_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698