| 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 248de09bb99d89f0e6ee24ceb9b3072e263d79d5..25b76e6b488e26e0e329057bc0d3e9babd4009e9 100644
|
| --- a/content/browser/webui/web_ui_factory.cc
|
| +++ b/content/browser/webui/web_ui_factory.cc
|
| @@ -95,10 +95,8 @@ WebUI* NewWebUI<ExtensionWebUI>(TabContents* contents, const GURL& url) {
|
| // when invoked for a particular tab - see NewWebUI<ExtensionWebUI>.
|
| static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile,
|
| const GURL& url) {
|
| - if (url.host() == chrome::kChromeUIDialogHost ||
|
| - url.host() == chrome::kChromeUICollectedCookiesHost) {
|
| + if (url.host() == chrome::kChromeUIDialogHost)
|
| return &NewWebUI<ConstrainedHtmlUI>;
|
| - }
|
|
|
| ExtensionService* service = profile ? profile->GetExtensionService() : NULL;
|
| if (service && service->ExtensionBindingsAllowed(url))
|
| @@ -182,6 +180,8 @@ static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile,
|
| #endif
|
|
|
| #if defined(OS_CHROMEOS)
|
| + if (url.host() == chrome::kChromeUICollectedCookiesHost)
|
| + return &NewWebUI<ConstrainedHtmlUI>;
|
| if (url.host() == chrome::kChromeUIFileBrowseHost)
|
| return &NewWebUI<FileBrowseUI>;
|
| if (url.host() == chrome::kChromeUIImageBurnerHost)
|
|
|