summaryrefslogtreecommitdiffstats
path: root/content/public/browser/content_browser_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/browser/content_browser_client.h')
-rw-r--r--content/public/browser/content_browser_client.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index d008bc0..b3205bc 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -65,7 +65,7 @@ namespace content {
class BrowserContext;
class ResourceContext;
-class WebUIFactory;
+class WebUIControllerFactory;
// Embedder API (or SPI) for participating in browser logic, to be implemented
// by the client of the content browser. See ChromeContentBrowserClient for the
@@ -96,8 +96,9 @@ class ContentBrowserClient {
virtual void RenderProcessHostCreated(
content::RenderProcessHost* host) = 0;
- // Gets the WebUIFactory which will be responsible for generating WebUIs.
- virtual WebUIFactory* GetWebUIFactory() = 0;
+ // Gets the WebUIControllerFactory which will be responsible for generating
+ // WebUIs. Can return NULL if the embedder doesn't need WebUI support.
+ virtual WebUIControllerFactory* GetWebUIControllerFactory() = 0;
// Get the effective URL for the given actual URL, to allow an embedder to
// group different url schemes in the same SiteInstance.