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

Unified Diff: content/common/content_client.h

Issue 6995095: Move UtilityProcessHost to content and move the message sending/dispatching to the clients. This... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
===================================================================
--- content/common/content_client.h (revision 88480)
+++ content/common/content_client.h (working copy)
@@ -30,6 +30,7 @@
class ContentClient;
class ContentPluginClient;
class ContentRendererClient;
+class ContentUtilityClient;
// Setter and getter for the client. The client should be set early, before any
// content code is called.
@@ -45,9 +46,11 @@
ContentBrowserClient* browser() { return browser_; }
void set_browser(ContentBrowserClient* c) { browser_ = c; }
ContentPluginClient* plugin() { return plugin_; }
- void set_plugin(ContentPluginClient* r) { plugin_ = r; }
+ void set_plugin(ContentPluginClient* p) { plugin_ = p; }
ContentRendererClient* renderer() { return renderer_; }
void set_renderer(ContentRendererClient* r) { renderer_ = r; }
+ ContentUtilityClient* utility() { return utility_; }
+ void set_utility(ContentUtilityClient* u) { utility_ = u; }
// Sets the currently active URL. Use GURL() to clear the URL.
virtual void SetActiveURL(const GURL& url) {}
@@ -79,6 +82,8 @@
ContentPluginClient* plugin_;
// The embedder API for participating in renderer logic.
ContentRendererClient* renderer_;
+ // The embedder API for participating in utility logic.
+ ContentUtilityClient* utility_;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698