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

Unified Diff: content/browser/worker_host/worker_process_host.h

Issue 23851010: Modify ResourceMessageFilter so that it can support attaching to PluginProcessHost. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years, 3 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/worker_host/worker_process_host.h
===================================================================
--- content/browser/worker_host/worker_process_host.h (revision 222038)
+++ content/browser/worker_host/worker_process_host.h (working copy)
@@ -20,11 +20,18 @@
#include "content/public/common/process_type.h"
#include "ipc/ipc_sender.h"
#include "url/gurl.h"
+#include "webkit/common/resource_type.h"
+struct ResourceHostMsg_Request;
+
namespace fileapi {
class FileSystemContext;
} // namespace fileapi
+namespace net {
+class URLRequestContext;
+}
+
namespace webkit_database {
class DatabaseTracker;
} // namespace webkit_database
@@ -218,6 +225,12 @@
// given worker.
std::vector<std::pair<int, int> > GetRenderViewIDsForWorker(int route_id);
+ // Callbacks for ResourceMessageFilter and SocketStreamDispatcherHost.
+ void GetContexts(const ResourceHostMsg_Request& request,
+ ResourceContext** resource_context,
+ net::URLRequestContext** request_context);
+ net::URLRequestContext* GetRequestContext(ResourceType::Type resource_type);
+
Instances instances_;
ResourceContext* const resource_context_;
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/browser/worker_host/worker_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698