| 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_;
|
|
|