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

Unified Diff: content/common/content_client.h

Issue 6990059: DevTools: devtools message plumbing between worker and page processes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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: 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

Powered by Google App Engine
This is Rietveld 408576698