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

Unified Diff: remoting/protocol/me2me_host_authenticator_factory.cc

Issue 667123002: Standardize usage of virtual/override/final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/me2me_host_authenticator_factory.h ('k') | remoting/protocol/monitored_video_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/me2me_host_authenticator_factory.cc
diff --git a/remoting/protocol/me2me_host_authenticator_factory.cc b/remoting/protocol/me2me_host_authenticator_factory.cc
index 1cd7db1e5cf1f99f7a64f8c88d0b1ee3335f8b14..422a2bb29a2a4c21f79e8dd7b50a14aa935b720f 100644
--- a/remoting/protocol/me2me_host_authenticator_factory.cc
+++ b/remoting/protocol/me2me_host_authenticator_factory.cc
@@ -23,36 +23,30 @@ class RejectingAuthenticator : public Authenticator {
RejectingAuthenticator()
: state_(WAITING_MESSAGE) {
}
- virtual ~RejectingAuthenticator() {
- }
+ ~RejectingAuthenticator() override {}
- virtual State state() const override {
- return state_;
- }
+ State state() const override { return state_; }
- virtual bool started() const override {
- return true;
- }
+ bool started() const override { return true; }
- virtual RejectionReason rejection_reason() const override {
+ RejectionReason rejection_reason() const override {
DCHECK_EQ(state_, REJECTED);
return INVALID_CREDENTIALS;
}
- virtual void ProcessMessage(const buzz::XmlElement* message,
- const base::Closure& resume_callback) override {
+ void ProcessMessage(const buzz::XmlElement* message,
+ const base::Closure& resume_callback) override {
DCHECK_EQ(state_, WAITING_MESSAGE);
state_ = REJECTED;
resume_callback.Run();
}
- virtual scoped_ptr<buzz::XmlElement> GetNextMessage() override {
+ scoped_ptr<buzz::XmlElement> GetNextMessage() override {
NOTREACHED();
return nullptr;
}
- virtual scoped_ptr<ChannelAuthenticator>
- CreateChannelAuthenticator() const override {
+ scoped_ptr<ChannelAuthenticator> CreateChannelAuthenticator() const override {
NOTREACHED();
return nullptr;
}
« no previous file with comments | « remoting/protocol/me2me_host_authenticator_factory.h ('k') | remoting/protocol/monitored_video_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698