summaryrefslogtreecommitdiffstats
path: root/content/browser/webui/web_ui_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/webui/web_ui_factory.cc')
-rw-r--r--content/browser/webui/web_ui_factory.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/browser/webui/web_ui_factory.cc b/content/browser/webui/web_ui_factory.cc
index 7468407..350d403 100644
--- a/content/browser/webui/web_ui_factory.cc
+++ b/content/browser/webui/web_ui_factory.cc
@@ -99,8 +99,10 @@ static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile,
if (url.SchemeIs(chrome::kGearsScheme))
return &NewWebUI<HtmlDialogUI>;
- if (url.host() == chrome::kChromeUIDialogHost)
+ if (url.host() == chrome::kChromeUIDialogHost ||
+ url.host() == chrome::kChromeUICollectedCookiesHost) {
return &NewWebUI<ConstrainedHtmlUI>;
+ }
ExtensionService* service = profile ? profile->GetExtensionService() : NULL;
if (service && service->ExtensionBindingsAllowed(url))