diff options
Diffstat (limited to 'chrome/browser/dom_ui/dom_ui_factory.cc')
-rw-r--r-- | chrome/browser/dom_ui/dom_ui_factory.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/dom_ui_factory.cc b/chrome/browser/dom_ui/dom_ui_factory.cc index ad98860..9912ee3 100644 --- a/chrome/browser/dom_ui/dom_ui_factory.cc +++ b/chrome/browser/dom_ui/dom_ui_factory.cc @@ -7,6 +7,7 @@ #include "chrome/browser/dom_ui/downloads_ui.h" #include "chrome/browser/dom_ui/devtools_ui.h" #include "chrome/browser/dom_ui/history_ui.h" +#include "chrome/browser/dom_ui/filebrowse_ui.h" #include "chrome/browser/dom_ui/html_dialog_ui.h" #include "chrome/browser/dom_ui/new_tab_ui.h" #include "chrome/browser/dom_ui/print_ui.h" @@ -88,6 +89,11 @@ static DOMUIFactoryFunction GetDOMUIFactoryFunction(const GURL& url) { if (url.host() == chrome::kChromeUIDevToolsHost) return &NewDOMUI<DevToolsUI>; +#if defined(OS_CHROMEOS) + if (url.host() == chrome::kChromeUIFileBrowseHost) + return &NewDOMUI<FileBrowseUI>; +#endif + return NULL; } |