Chromium Code Reviews| Index: chrome/browser/ui/webui/chromeos/login/error_screen_handler.h |
| diff --git a/chrome/browser/ui/webui/chromeos/login/error_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/error_screen_handler.h |
| index 94014deb68e9fc8839144ff3a0fdfcd72a8d8ad7..0359cc28e12871d7277089a88ffc18f2279183b4 100644 |
| --- a/chrome/browser/ui/webui/chromeos/login/error_screen_handler.h |
| +++ b/chrome/browser/ui/webui/chromeos/login/error_screen_handler.h |
| @@ -45,12 +45,18 @@ class ErrorScreenHandler : public BaseScreenHandler, |
| virtual void AllowOfflineLogin(bool allowed) OVERRIDE; |
| virtual void ShowConnectingIndicator(bool show) OVERRIDE; |
| + virtual void Show(OobeDisplay::Screen parent_screen, |
|
ygorshenin1
2014/06/18 13:11:35
Add OVERRIDE.
Roman Sorokin (ftl)
2014/06/19 11:57:38
Done.
|
| + base::DictionaryValue* params, |
| + base::Closure closure); |
| + |
| private: |
| // Sends notification that error message is shown. |
| void NetworkErrorShown(); |
| bool GetScreenName(OobeUI::Screen screen, std::string* name) const; |
| + void CheckAndShowScreen(); |
|
ygorshenin1
2014/06/18 13:11:35
Add comment to this method.
Roman Sorokin (ftl)
2014/06/19 11:57:38
Done.
|
| + |
| // WebUI message handlers. |
| void HandleShowCaptivePortal(); |
| void HandleHideCaptivePortal(); |
| @@ -82,6 +88,8 @@ class ErrorScreenHandler : public BaseScreenHandler, |
| // Keeps whether screen should be shown right after initialization. |
| bool show_on_init_; |
| + scoped_ptr<base::Closure> closure_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(ErrorScreenHandler); |
| }; |