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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.h

Issue 1164073006: Make the logic for stream interception by MimeHandlerViews consistent with starting the plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/browser/loader/resource_dispatcher_host_impl.h
diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h
index 51d5b7386acf7007e6b01a26dc54553e4a92d0ec..83b63b2eab694cb11119df00956d4ebaaaf34247 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.h
+++ b/content/browser/loader/resource_dispatcher_host_impl.h
@@ -45,6 +45,10 @@
class ResourceHandler;
struct ResourceHostMsg_Request;
+namespace base {
+class FilePath;
+}
+
namespace net {
class URLRequestJobFactory;
}
@@ -239,6 +243,7 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
// it, except on HTTP errors. This is marked virtual so it can be overriden in
// testing.
mmenke 2015/06/05 18:45:50 Can we document what this method actually does, ra
raymes 2015/06/09 00:10:46 Done.
virtual scoped_ptr<ResourceHandler> MaybeInterceptAsStream(
+ const base::FilePath& plugin_path,
net::URLRequest* request,
ResourceResponse* response,
std::string* payload);

Powered by Google App Engine
This is Rietveld 408576698