| Index: chrome/browser/dom_ui/web_ui_factory.cc
|
| diff --git a/chrome/browser/dom_ui/web_ui_factory.cc b/chrome/browser/dom_ui/web_ui_factory.cc
|
| index 6cedb8c5d3318802483f8cfb8541b1efeb9bcc3f..7d5e6a910c50b68d6a76b3fb703631278aa89052 100644
|
| --- a/chrome/browser/dom_ui/web_ui_factory.cc
|
| +++ b/chrome/browser/dom_ui/web_ui_factory.cc
|
| @@ -25,6 +25,7 @@
|
| #include "chrome/browser/tab_contents/tab_contents.h"
|
| #include "chrome/browser/webui/bookmarks_ui.h"
|
| #include "chrome/browser/webui/bug_report_ui.h"
|
| +#include "chrome/browser/webui/crashes_ui.h"
|
| #include "chrome/browser/webui/devtools_ui.h"
|
| #include "chrome/browser/webui/downloads_ui.h"
|
| #include "chrome/browser/webui/flags_ui.h"
|
| @@ -140,6 +141,8 @@ static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile,
|
| return &NewWebUI<BookmarksUI>;
|
| if (url.host() == chrome::kChromeUIBugReportHost)
|
| return &NewWebUI<BugReportUI>;
|
| + if (url.host() == chrome::kChromeUICrashesHost)
|
| + return &NewWebUI<CrashesUI>;
|
| if (url.host() == chrome::kChromeUIDevToolsHost)
|
| return &NewWebUI<DevToolsUI>;
|
| #if defined(OS_WIN)
|
| @@ -315,6 +318,9 @@ RefCountedMemory* WebUIFactory::GetFaviconResourceBytes(Profile* profile,
|
| return ConflictsUI::GetFaviconResourceBytes();
|
| #endif
|
|
|
| + if (page_url.host() == chrome::kChromeUICrashesHost)
|
| + return CrashesUI::GetFaviconResourceBytes();
|
| +
|
| if (page_url.host() == chrome::kChromeUIDownloadsHost)
|
| return DownloadsUI::GetFaviconResourceBytes();
|
|
|
|
|