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

Unified Diff: remoting/protocol/fake_session.h

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/fake_datagram_socket.h ('k') | remoting/protocol/fake_stream_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/fake_session.h
diff --git a/remoting/protocol/fake_session.h b/remoting/protocol/fake_session.h
index 5148688efa2e059416cfad24b041d0326fd8ca69..2e5d5ce5c56cc7d3c9d0ecf4148fbf4827fdaad4 100644
--- a/remoting/protocol/fake_session.h
+++ b/remoting/protocol/fake_session.h
@@ -23,7 +23,7 @@ extern const char kTestJid[];
class FakeSession : public Session {
public:
FakeSession();
- virtual ~FakeSession();
+ ~FakeSession() override;
EventHandler* event_handler() { return event_handler_; }
@@ -34,15 +34,15 @@ class FakeSession : public Session {
FakeStreamChannelFactory& fake_channel_factory() { return channel_factory_; }
// Session interface.
- virtual void SetEventHandler(EventHandler* event_handler) override;
- virtual ErrorCode error() override;
- virtual const std::string& jid() override;
- virtual const CandidateSessionConfig* candidate_config() override;
- virtual const SessionConfig& config() override;
- virtual void set_config(const SessionConfig& config) override;
- virtual StreamChannelFactory* GetTransportChannelFactory() override;
- virtual StreamChannelFactory* GetMultiplexedChannelFactory() override;
- virtual void Close() override;
+ void SetEventHandler(EventHandler* event_handler) override;
+ ErrorCode error() override;
+ const std::string& jid() override;
+ const CandidateSessionConfig* candidate_config() override;
+ const SessionConfig& config() override;
+ void set_config(const SessionConfig& config) override;
+ StreamChannelFactory* GetTransportChannelFactory() override;
+ StreamChannelFactory* GetMultiplexedChannelFactory() override;
+ void Close() override;
public:
EventHandler* event_handler_;
« no previous file with comments | « remoting/protocol/fake_datagram_socket.h ('k') | remoting/protocol/fake_stream_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698