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

Unified Diff: chromeos/login/auth/login_performer.h

Issue 856563004: Update {virtual,override,final} to follow C++11 style in chromeos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/login/auth/fake_extended_authenticator.h ('k') | chromeos/login/auth/mock_authenticator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/login/auth/login_performer.h
diff --git a/chromeos/login/auth/login_performer.h b/chromeos/login/auth/login_performer.h
index 47ce63163d41e8cb1172a0f1cf3cc2b916f0055a..0f81d04057b1d88a58329693ab8e3cea4387f6f6 100644
--- a/chromeos/login/auth/login_performer.h
+++ b/chromeos/login/auth/login_performer.h
@@ -54,7 +54,7 @@ class CHROMEOS_EXPORT LoginPerformer : public AuthStatusConsumer,
// Delegate class to get notifications from the LoginPerformer.
class Delegate : public AuthStatusConsumer {
public:
- virtual ~Delegate() {}
+ ~Delegate() override {}
virtual void WhiteListCheckFailed(const std::string& email) = 0;
virtual void PolicyLoadFailed() = 0;
virtual void OnOnlineChecked(const std::string& email, bool success) = 0;
@@ -62,7 +62,7 @@ class CHROMEOS_EXPORT LoginPerformer : public AuthStatusConsumer,
LoginPerformer(scoped_refptr<base::TaskRunner> task_runner,
Delegate* delegate);
- virtual ~LoginPerformer();
+ ~LoginPerformer() override;
// Performs a login for |user_context|.
// If auth_mode is AUTH_MODE_EXTENSION, there are no further auth checks,
@@ -84,10 +84,10 @@ class CHROMEOS_EXPORT LoginPerformer : public AuthStatusConsumer,
bool use_guest_mount);
// AuthStatusConsumer implementation:
- virtual void OnAuthFailure(const AuthFailure& error) override;
- virtual void OnAuthSuccess(const UserContext& user_context) override;
- virtual void OnOffTheRecordAuthSuccess() override;
- virtual void OnPasswordChangeDetected() override;
+ void OnAuthFailure(const AuthFailure& error) override;
+ void OnAuthSuccess(const UserContext& user_context) override;
+ void OnOffTheRecordAuthSuccess() override;
+ void OnPasswordChangeDetected() override;
// Migrates cryptohome using |old_password| specified.
void RecoverEncryptedData(const std::string& old_password);
@@ -118,7 +118,7 @@ class CHROMEOS_EXPORT LoginPerformer : public AuthStatusConsumer,
protected:
// Implements OnlineAttemptHost::Delegate.
- virtual void OnChecked(const std::string& user_id, bool success) override;
+ void OnChecked(const std::string& user_id, bool success) override;
// Platform-dependant methods to be implemented by concrete class.
« no previous file with comments | « chromeos/login/auth/fake_extended_authenticator.h ('k') | chromeos/login/auth/mock_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698