Index: content/browser/webui/web_ui_factory.cc |
diff --git a/content/browser/webui/web_ui_factory.cc b/content/browser/webui/web_ui_factory.cc |
index e278fef94b64a6e5ad894d5b10a6deeb30784445..6686fa1e649d127d5198d287281e280d722b1e1e 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)) |