| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_ENTERPRISE_ENROLLMENT_UI_H_ | |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_ENTERPRISE_ENROLLMENT_UI_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "base/compiler_specific.h" | |
| 10 #include "chrome/browser/ui/webui/chrome_web_ui.h" | |
| 11 #include "chrome/common/net/gaia/google_service_auth_error.h" | |
| 12 | |
| 13 namespace chromeos { | |
| 14 | |
| 15 class EnterpriseEnrollmentScreenActor; | |
| 16 class SingleEnterpriseEnrollmentScreenHandler; | |
| 17 | |
| 18 // WebUI implementation that handles the enterprise enrollment dialog in the | |
| 19 // Chrome OS login flow. | |
| 20 class EnterpriseEnrollmentUI : public ChromeWebUI { | |
| 21 public: | |
| 22 explicit EnterpriseEnrollmentUI(TabContents* contents); | |
| 23 virtual ~EnterpriseEnrollmentUI(); | |
| 24 | |
| 25 // Overridden from WebUI. | |
| 26 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; | |
| 27 | |
| 28 // Gets the URL for loading the UI. | |
| 29 static GURL GetURL(); | |
| 30 | |
| 31 EnterpriseEnrollmentScreenActor* GetActor(); | |
| 32 | |
| 33 private: | |
| 34 SingleEnterpriseEnrollmentScreenHandler* handler_; | |
| 35 | |
| 36 DISALLOW_COPY_AND_ASSIGN(EnterpriseEnrollmentUI); | |
| 37 }; | |
| 38 | |
| 39 } // namespace chromeos | |
| 40 | |
| 41 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_ENTERPRISE_ENROLLMENT_UI_H_ | |
| OLD | NEW |