OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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_SIGNIN_SIGNIN_ERROR_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_ERROR_UI_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "ui/web_dialogs/web_dialog_ui.h" |
| 10 |
| 11 class SigninErrorHandler; |
| 12 |
| 13 namespace ui { |
| 14 class WebUI; |
| 15 } |
| 16 |
| 17 class SigninErrorUI : public ui::WebDialogUI { |
| 18 public: |
| 19 explicit SigninErrorUI(content::WebUI* web_ui); |
| 20 // Used to inject a SigninErrorHandler in tests. |
| 21 SigninErrorUI(content::WebUI* web_ui, SigninErrorHandler* handler); |
| 22 ~SigninErrorUI() override {} |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(SigninErrorUI); |
| 25 }; |
| 26 |
| 27 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_ERROR_UI_H_ |
OLD | NEW |