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

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

Issue 509016: Refactored code to allow associating workers with multiple renderers. (Closed)
Patch Set: Disabled overly-aggressive assertion in ResourceDispatcherHost. Created 10 years, 11 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_message_filter.h
diff --git a/chrome/browser/renderer_host/resource_message_filter.h b/chrome/browser/renderer_host/resource_message_filter.h
index b24d0954f242256a54ef2169445ae6e5ee1be9b6..e93568b2770bbbd1e9598ea3628444ba49174f16 100644
--- a/chrome/browser/renderer_host/resource_message_filter.h
+++ b/chrome/browser/renderer_host/resource_message_filter.h
@@ -44,6 +44,7 @@ class Profile;
class RenderWidgetHelper;
class URLRequestContextGetter;
struct ViewHostMsg_Audio_CreateStream;
+struct ViewHostMsg_CreateWorker_Params;
struct WebPluginInfo;
namespace printing {
@@ -166,14 +167,12 @@ class ResourceMessageFilter : public IPC::ChannelProxy::MessageFilter,
void OnLaunchNaCl(const std::wstring& url,
int channel_descriptor,
IPC::Message* reply_msg);
- void OnCreateWorker(const GURL& url,
- bool is_shared,
- const string16& name,
- int render_view_route_id,
+ void OnCreateWorker(const ViewHostMsg_CreateWorker_Params& params,
int* route_id);
void OnLookupSharedWorker(const GURL& url,
const string16& name,
unsigned long long document_id,
+ int render_view_route_id,
int* route_id,
bool* url_error);
void OnDocumentDetached(unsigned long long document_id);
« no previous file with comments | « chrome/browser/renderer_host/resource_dispatcher_host.cc ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698