| Index: chrome/worker/websharedworker_stub.h
|
| diff --git a/chrome/worker/websharedworker_stub.h b/chrome/worker/websharedworker_stub.h
|
| index e346bda96cc4e2dfa8d318b864bbe9a12438b609..157dadb6e07569e83eb6e66fb1ac75b059237f88 100644
|
| --- a/chrome/worker/websharedworker_stub.h
|
| +++ b/chrome/worker/websharedworker_stub.h
|
| @@ -25,10 +25,11 @@ class WebSharedWorkerStub : public WebWorkerStubBase {
|
| virtual void OnMessageReceived(const IPC::Message& message);
|
| virtual void OnChannelError();
|
|
|
| + virtual const GURL& url() const { return url_; }
|
| +
|
| private:
|
| virtual ~WebSharedWorkerStub();
|
|
|
| - // Invoked when the WebWorkerClientProxy is shutting down.
|
| void OnConnect(int sent_message_port_id, int routing_id);
|
| void OnStartWorkerContext(
|
| const GURL& url, const string16& user_agent, const string16& source_code);
|
| @@ -37,6 +38,7 @@ class WebSharedWorkerStub : public WebWorkerStubBase {
|
| WebKit::WebSharedWorker* impl_;
|
| string16 name_;
|
| bool started_;
|
| + GURL url_;
|
|
|
| typedef std::pair<int, int> PendingConnectInfo;
|
| typedef std::vector<PendingConnectInfo> PendingConnectInfoList;
|
|
|