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

Unified Diff: remoting/signaling/mock_signal_strategy.h

Issue 1101033002: Update {virtual,override} to follow C++11 style in remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/monitored_video_stub_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/signaling/mock_signal_strategy.h
diff --git a/remoting/signaling/mock_signal_strategy.h b/remoting/signaling/mock_signal_strategy.h
index c39eba730ba98dd5a4658c7716477cb2f548d284..3245931c9c555a0b93209910f6fefd012e81c62f 100644
--- a/remoting/signaling/mock_signal_strategy.h
+++ b/remoting/signaling/mock_signal_strategy.h
@@ -13,7 +13,7 @@ namespace remoting {
class MockSignalStrategy : public SignalStrategy {
public:
MockSignalStrategy();
- virtual ~MockSignalStrategy();
+ ~MockSignalStrategy() override;
MOCK_METHOD0(Connect, void());
MOCK_METHOD0(Disconnect, void());
@@ -27,7 +27,7 @@ class MockSignalStrategy : public SignalStrategy {
// GMock currently doesn't support move-only arguments, so we have
// to use this hack here.
MOCK_METHOD1(SendStanzaPtr, bool(buzz::XmlElement* stanza));
- virtual bool SendStanza(scoped_ptr<buzz::XmlElement> stanza) override {
+ bool SendStanza(scoped_ptr<buzz::XmlElement> stanza) override {
return SendStanzaPtr(stanza.release());
}
};
« no previous file with comments | « remoting/protocol/monitored_video_stub_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698