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

Unified Diff: chrome/browser/renderer_host/resource_dispatcher_host.h

Issue 164305: Ensure we don't load plugins on the IO thread (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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/resource_dispatcher_host.h
===================================================================
--- chrome/browser/renderer_host/resource_dispatcher_host.h (revision 23449)
+++ chrome/browser/renderer_host/resource_dispatcher_host.h (working copy)
@@ -108,6 +108,7 @@
has_started_reading(false),
paused_read_bytes(0) {
}
+ virtual ~ExtraRequestInfo() { resource_handler->OnRequestClosed(); }
// Top-level ResourceHandler servicing this request.
scoped_refptr<ResourceHandler> resource_handler;
@@ -352,11 +353,6 @@
// Retrieves a URLRequest. Must be called from the IO thread.
URLRequest* GetURLRequest(GlobalRequestID request_id) const;
- // A test to determining whether a given request should be forwarded to the
- // download thread.
- bool ShouldDownload(const std::string& mime_type,
- const std::string& content_disposition);
-
// Notifies our observers that a request has been cancelled.
void NotifyResponseCompleted(URLRequest* request, int process_id);
@@ -551,8 +547,6 @@
// List of objects observing resource dispatching.
ObserverList<Observer> observer_list_;
- PluginService* plugin_service_;
-
// For running tasks.
ScopedRunnableMethodFactory<ResourceDispatcherHost> method_runner_;
« no previous file with comments | « chrome/browser/renderer_host/buffered_resource_handler.cc ('k') | chrome/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698