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

Unified Diff: chrome/renderer/websharedworker_proxy.h

Issue 372047: Fixed worker startup issue (Closed)
Patch Set: Removed tests to a separate patch. Created 11 years, 1 month 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
« no previous file with comments | « no previous file | chrome/renderer/websharedworker_proxy.cc » ('j') | chrome/renderer/websharedworker_proxy.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/websharedworker_proxy.h
diff --git a/chrome/renderer/websharedworker_proxy.h b/chrome/renderer/websharedworker_proxy.h
index b9ab0652b9d6159ce0b8727258b0271b6222a0f0..6adcf084551ecb5f24f23a92887aa5a889e7730c 100644
--- a/chrome/renderer/websharedworker_proxy.h
+++ b/chrome/renderer/websharedworker_proxy.h
@@ -26,7 +26,8 @@ class WebSharedWorkerProxy : public WebKit::WebSharedWorker,
// Implementations of WebSharedWorker APIs
virtual bool isStarted();
- virtual void connect(WebKit::WebMessagePortChannel* channel);
+ virtual void connect(WebKit::WebMessagePortChannel* channel,
+ ConnectListener* listener);
virtual void startWorkerContext(const WebKit::WebURL& script_url,
const WebKit::WebString& name,
const WebKit::WebString& user_agent,
@@ -40,6 +41,8 @@ class WebSharedWorkerProxy : public WebKit::WebSharedWorker,
private:
void OnWorkerCreated();
+ ConnectListener* m_connectListener;
+
DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy);
};
« no previous file with comments | « no previous file | chrome/renderer/websharedworker_proxy.cc » ('j') | chrome/renderer/websharedworker_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698