Index: chrome/browser/ui/webui/signin/signin_error_ui.h |
diff --git a/chrome/browser/ui/webui/signin/signin_error_ui.h b/chrome/browser/ui/webui/signin/signin_error_ui.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c4291bdcf8545d08ab4474d96fcb9e7054b50b06 |
--- /dev/null |
+++ b/chrome/browser/ui/webui/signin/signin_error_ui.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_ERROR_UI_H_ |
+#define CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_ERROR_UI_H_ |
+ |
+#include "base/macros.h" |
+#include "ui/web_dialogs/web_dialog_ui.h" |
+ |
+class SigninErrorHandler; |
+ |
+namespace ui { |
+class WebUI; |
+} |
+ |
+class SigninErrorUI : public ui::WebDialogUI { |
+ public: |
+ explicit SigninErrorUI(content::WebUI* web_ui); |
+ // Used to inject a SigninErrorHandler in tests. |
+ SigninErrorUI(content::WebUI* web_ui, SigninErrorHandler* handler); |
+ ~SigninErrorUI() override {} |
+ |
+ DISALLOW_COPY_AND_ASSIGN(SigninErrorUI); |
+}; |
+ |
+#endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_ERROR_UI_H_ |