Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Side by Side Diff: chrome/browser/chromeos/login/screens/error_screen.h

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 30 matching lines...) Expand all
41 ERROR_STATE_OFFLINE, 41 ERROR_STATE_OFFLINE,
42 ERROR_STATE_PROXY, 42 ERROR_STATE_PROXY,
43 ERROR_STATE_AUTH_EXT_TIMEOUT, 43 ERROR_STATE_AUTH_EXT_TIMEOUT,
44 ERROR_STATE_KIOSK_ONLINE 44 ERROR_STATE_KIOSK_ONLINE
45 }; 45 };
46 46
47 ErrorScreen(ScreenObserver* screen_observer, ErrorScreenActor* actor); 47 ErrorScreen(ScreenObserver* screen_observer, ErrorScreenActor* actor);
48 virtual ~ErrorScreen(); 48 virtual ~ErrorScreen();
49 49
50 // WizardScreen implementation. 50 // WizardScreen implementation.
51 virtual void PrepareToShow() OVERRIDE; 51 virtual void PrepareToShow() override;
52 virtual void Show() OVERRIDE; 52 virtual void Show() override;
53 virtual void Hide() OVERRIDE; 53 virtual void Hide() override;
54 virtual std::string GetName() const OVERRIDE; 54 virtual std::string GetName() const override;
55 55
56 // ErrorScreenActorDelegate implementation: 56 // ErrorScreenActorDelegate implementation:
57 virtual void OnErrorShow() OVERRIDE; 57 virtual void OnErrorShow() override;
58 virtual void OnErrorHide() OVERRIDE; 58 virtual void OnErrorHide() override;
59 virtual void OnLaunchOobeGuestSession() OVERRIDE; 59 virtual void OnLaunchOobeGuestSession() override;
60 60
61 // LoginPerformer::Delegate implementation: 61 // LoginPerformer::Delegate implementation:
62 virtual void OnAuthFailure(const AuthFailure& error) OVERRIDE; 62 virtual void OnAuthFailure(const AuthFailure& error) override;
63 virtual void OnAuthSuccess(const UserContext& user_context) OVERRIDE; 63 virtual void OnAuthSuccess(const UserContext& user_context) override;
64 virtual void OnOffTheRecordAuthSuccess() OVERRIDE; 64 virtual void OnOffTheRecordAuthSuccess() override;
65 virtual void OnPasswordChangeDetected() OVERRIDE; 65 virtual void OnPasswordChangeDetected() override;
66 virtual void WhiteListCheckFailed(const std::string& email) OVERRIDE; 66 virtual void WhiteListCheckFailed(const std::string& email) override;
67 virtual void PolicyLoadFailed() OVERRIDE; 67 virtual void PolicyLoadFailed() override;
68 virtual void OnOnlineChecked(const std::string& username, 68 virtual void OnOnlineChecked(const std::string& username,
69 bool success) OVERRIDE; 69 bool success) override;
70 70
71 // Initializes captive portal dialog and shows that if needed. 71 // Initializes captive portal dialog and shows that if needed.
72 void FixCaptivePortal(); 72 void FixCaptivePortal();
73 73
74 // Shows captive portal dialog. 74 // Shows captive portal dialog.
75 void ShowCaptivePortal(); 75 void ShowCaptivePortal();
76 76
77 // Hides captive portal dialog. 77 // Hides captive portal dialog.
78 void HideCaptivePortal(); 78 void HideCaptivePortal();
79 79
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 scoped_ptr<LoginPerformer> guest_login_performer_; 112 scoped_ptr<LoginPerformer> guest_login_performer_;
113 113
114 base::WeakPtrFactory<ErrorScreen> weak_factory_; 114 base::WeakPtrFactory<ErrorScreen> weak_factory_;
115 115
116 DISALLOW_COPY_AND_ASSIGN(ErrorScreen); 116 DISALLOW_COPY_AND_ASSIGN(ErrorScreen);
117 }; 117 };
118 118
119 } // namespace chromeos 119 } // namespace chromeos
120 120
121 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ 121 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/controller_pairing_screen.h ('k') | chrome/browser/chromeos/login/screens/eula_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698