Index: chrome/browser/ui/webui/chrome_web_ui_factory.cc |
diff --git a/chrome/browser/ui/webui/chrome_web_ui_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_factory.cc |
index f42a0521d97f570246a2964b940556930e48b43e..7a9742c979c4b172fa3cc958e2e5cee14e0e90e7 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui_factory.cc |
+++ b/chrome/browser/ui/webui/chrome_web_ui_factory.cc |
@@ -57,8 +57,6 @@ |
#include "chrome/browser/ui/webui/chromeos/sim_unlock_ui.h" |
#include "chrome/browser/ui/webui/chromeos/system_info_ui.h" |
#include "chrome/browser/ui/webui/active_downloads_ui.h" |
-#else |
-#include "chrome/browser/ui/webui/new_profile_ui.h" |
#endif |
#if defined(TOUCH_UI) |
@@ -237,13 +235,6 @@ static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile, |
if (url.spec() == chrome::kChromeUIConstrainedHTMLTestURL) |
return &NewWebUI<ConstrainedHtmlUI>; |
-#if !defined(OS_CHROMEOS) |
- if (ProfileManager::IsMultipleProfilesEnabled()) { |
- if (url.host() == chrome::kChromeUINewProfileHost) |
- return &NewWebUI<NewProfileUI>; |
- } |
-#endif |
- |
return NULL; |
} |