Index: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc |
diff --git a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc |
index 26a3490952548e08f6df0c9b776fffad7d559963..f35224d8045c090e4e3c41720ca420ba68125944 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc |
@@ -36,6 +36,9 @@ |
namespace { |
+// Path for a stripped down login page that does not have OOBE elements. |
+const char kLoginPath[] = "login"; |
+ |
// Path for the enterprise enrollment gaia page hosting. |
const char kEnterpriseEnrollmentGaiaLoginPath[] = "gaialogin"; |
@@ -79,6 +82,11 @@ void OobeUIHTMLSource::StartDataRequest(const std::string& path, |
ResourceBundle::GetSharedInstance().GetRawDataResource(IDR_OOBE_HTML)); |
response = jstemplate_builder::GetI18nTemplateHtml( |
html, localized_strings_.get()); |
+ } else if (path == kLoginPath) { |
+ static const base::StringPiece html( |
+ ResourceBundle::GetSharedInstance().GetRawDataResource(IDR_LOGIN_HTML)); |
+ response = jstemplate_builder::GetI18nTemplateHtml( |
+ html, localized_strings_.get()); |
} else if (path == kEnterpriseEnrollmentGaiaLoginPath) { |
static const base::StringPiece html( |
ResourceBundle::GetSharedInstance().GetRawDataResource( |