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

Unified Diff: remoting/test/protocol_perftest.cc

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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/test/fake_socket_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/protocol_perftest.cc
diff --git a/remoting/test/protocol_perftest.cc b/remoting/test/protocol_perftest.cc
index a9cd445828aea0584f3bec1805da501f96e9f96d..83d015beb04814543031f7ec4c80036149cc1c8f 100644
--- a/remoting/test/protocol_perftest.cc
+++ b/remoting/test/protocol_perftest.cc
@@ -68,7 +68,7 @@ class FakeCursorShapeStub : public protocol::CursorShapeStub {
// protocol::CursorShapeStub interface.
virtual void SetCursorShape(
- const protocol::CursorShapeInfo& cursor_shape) OVERRIDE {};
+ const protocol::CursorShapeInfo& cursor_shape) override {};
};
class ProtocolPerfTest
@@ -98,34 +98,34 @@ class ProtocolPerfTest
// ClientUserInterface interface.
virtual void OnConnectionState(protocol::ConnectionToHost::State state,
- protocol::ErrorCode error) OVERRIDE {
+ protocol::ErrorCode error) override {
if (state == protocol::ConnectionToHost::CONNECTED) {
client_connected_ = true;
if (host_connected_)
connecting_loop_->Quit();
}
}
- virtual void OnConnectionReady(bool ready) OVERRIDE {}
+ virtual void OnConnectionReady(bool ready) override {}
virtual void OnRouteChanged(const std::string& channel_name,
- const protocol::TransportRoute& route) OVERRIDE {
+ const protocol::TransportRoute& route) override {
}
- virtual void SetCapabilities(const std::string& capabilities) OVERRIDE {}
+ virtual void SetCapabilities(const std::string& capabilities) override {}
virtual void SetPairingResponse(
- const protocol::PairingResponse& pairing_response) OVERRIDE {}
+ const protocol::PairingResponse& pairing_response) override {}
virtual void DeliverHostMessage(
- const protocol::ExtensionMessage& message) OVERRIDE {}
- virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE {
+ const protocol::ExtensionMessage& message) override {}
+ virtual protocol::ClipboardStub* GetClipboardStub() override {
return NULL;
}
- virtual protocol::CursorShapeStub* GetCursorShapeStub() OVERRIDE {
+ virtual protocol::CursorShapeStub* GetCursorShapeStub() override {
return &cursor_shape_stub_;
}
// VideoRenderer interface.
- virtual void Initialize(const protocol::SessionConfig& config) OVERRIDE {}
- virtual ChromotingStats* GetStats() OVERRIDE { return NULL; }
+ virtual void Initialize(const protocol::SessionConfig& config) override {}
+ virtual ChromotingStats* GetStats() override { return NULL; }
virtual void ProcessVideoPacket(scoped_ptr<VideoPacket> video_packet,
- const base::Closure& done) OVERRIDE {
+ const base::Closure& done) override {
if (video_packet->data().empty()) {
// Ignore keep-alive packets
done.Run();
@@ -141,7 +141,7 @@ class ProtocolPerfTest
}
// HostStatusObserver interface.
- virtual void OnClientConnected(const std::string& jid) OVERRIDE {
+ virtual void OnClientConnected(const std::string& jid) override {
message_loop_.PostTask(
FROM_HERE,
base::Bind(&ProtocolPerfTest::OnHostConnectedMainThread,
« no previous file with comments | « remoting/test/fake_socket_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698