diff options
Diffstat (limited to 'chromium/chrome/browser/ui/webui/chromeos/account_manager_error_ui.h')
-rw-r--r-- | chromium/chrome/browser/ui/webui/chromeos/account_manager_error_ui.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/chromium/chrome/browser/ui/webui/chromeos/account_manager_error_ui.h b/chromium/chrome/browser/ui/webui/chromeos/account_manager_error_ui.h new file mode 100644 index 00000000000..60396df2316 --- /dev/null +++ b/chromium/chrome/browser/ui/webui/chromeos/account_manager_error_ui.h @@ -0,0 +1,27 @@ +// Copyright 2019 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_CHROMEOS_ACCOUNT_MANAGER_ERROR_UI_H_ +#define CHROME_BROWSER_UI_WEBUI_CHROMEOS_ACCOUNT_MANAGER_ERROR_UI_H_ + +#include "base/macros.h" +#include "base/memory/weak_ptr.h" +#include "ui/web_dialogs/web_dialog_ui.h" + +namespace chromeos { + +// For chrome:://account-manager-error +class AccountManagerErrorUI : public ui::WebDialogUI { + public: + explicit AccountManagerErrorUI(content::WebUI* web_ui); + ~AccountManagerErrorUI() override; + + private: + base::WeakPtrFactory<AccountManagerErrorUI> weak_factory_; + DISALLOW_COPY_AND_ASSIGN(AccountManagerErrorUI); +}; + +} // namespace chromeos + +#endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_ACCOUNT_MANAGER_ERROR_UI_H_ |