| Index: content/common/content_client.h
|
| diff --git a/content/common/content_client.h b/content/common/content_client.h
|
| index 913aca31018caa7aca90065df3472a46bf007081..f902b1d95be6d3cce6c9bdf2f8b95c7e278e9903 100644
|
| --- a/content/common/content_client.h
|
| +++ b/content/common/content_client.h
|
| @@ -25,6 +25,7 @@ class ContentBrowserClient;
|
| class ContentClient;
|
| class ContentPluginClient;
|
| class ContentRendererClient;
|
| +class ContentWorkerClient;
|
|
|
| // Setter and getter for the client. The client should be set early, before any
|
| // content code is called.
|
| @@ -43,6 +44,8 @@ class ContentClient {
|
| void set_plugin(ContentPluginClient* r) { plugin_ = r; }
|
| ContentRendererClient* renderer() { return renderer_; }
|
| void set_renderer(ContentRendererClient* r) { renderer_ = r; }
|
| + ContentWorkerClient* worker() { return worker_; }
|
| + void set_worker(ContentWorkerClient* r) { worker_ = r; }
|
|
|
| // Sets the currently active URL. Use GURL() to clear the URL.
|
| virtual void SetActiveURL(const GURL& url) {}
|
| @@ -68,6 +71,8 @@ class ContentClient {
|
| ContentPluginClient* plugin_;
|
| // The embedder API for participating in renderer logic.
|
| ContentRendererClient* renderer_;
|
| + // The embedder API for participating in worker logic.
|
| + ContentWorkerClient* worker_;
|
| };
|
|
|
| } // namespace content
|
|
|