diff options
Diffstat (limited to 'chrome/renderer/webworker_proxy.h')
-rw-r--r-- | chrome/renderer/webworker_proxy.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/renderer/webworker_proxy.h b/chrome/renderer/webworker_proxy.h index e068e8e..94c199d 100644 --- a/chrome/renderer/webworker_proxy.h +++ b/chrome/renderer/webworker_proxy.h @@ -26,7 +26,7 @@ class Message; class WebWorkerProxy : public WebWorker, public IPC::Channel::Listener { public: - WebWorkerProxy(WebWorkerClient* client); + WebWorkerProxy(WebWorkerClient* client, int render_view_route_id); virtual ~WebWorkerProxy(); // WebWorker implementation. @@ -45,8 +45,12 @@ class WebWorkerProxy : public WebWorker, private: bool Send(IPC::Message* message); + // The routing id used to reach WebWorkerClientProxy in the worker process. int route_id_; + // The routing id for the RenderView that created this worker. + int render_view_route_id_; + // Used to communicate to the WebCore::Worker object in response to IPC // messages. WebWorkerClient* client_; |