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

Unified Diff: content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler.cc

Issue 629143003: Replace OVERRIDE and FINAL with override and final in content/shell/[a-s]* (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
Index: content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler.cc
diff --git a/content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler.cc b/content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler.cc
index 341c95289b4b2802337be8b2e9d79cf14b38f2b3..720e62b729d83194e2a8276d1fc9a53263a30c2f 100644
--- a/content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler.cc
+++ b/content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler.cc
@@ -34,7 +34,7 @@ class RTCSessionDescriptionRequestSuccededTask
request_(request),
result_(result) {}
- virtual void RunIfValid() OVERRIDE { request_.requestSucceeded(result_); }
+ virtual void RunIfValid() override { request_.requestSucceeded(result_); }
private:
WebRTCSessionDescriptionRequest request_;
@@ -50,7 +50,7 @@ class RTCSessionDescriptionRequestFailedTask
: WebMethodTask<MockWebRTCPeerConnectionHandler>(object),
request_(request) {}
- virtual void RunIfValid() OVERRIDE { request_.requestFailed("TEST_ERROR"); }
+ virtual void RunIfValid() override { request_.requestFailed("TEST_ERROR"); }
private:
WebRTCSessionDescriptionRequest request_;
@@ -66,7 +66,7 @@ class RTCStatsRequestSucceededTask
request_(request),
response_(response) {}
- virtual void RunIfValid() OVERRIDE { request_.requestSucceeded(response_); }
+ virtual void RunIfValid() override { request_.requestSucceeded(response_); }
private:
blink::WebRTCStatsRequest request_;
@@ -83,7 +83,7 @@ class RTCVoidRequestTask
request_(request),
succeeded_(succeeded) {}
- virtual void RunIfValid() OVERRIDE {
+ virtual void RunIfValid() override {
if (succeeded_)
request_.requestSucceeded();
else
@@ -108,7 +108,7 @@ class RTCPeerConnectionStateTask
connection_state_(connection_state),
gathering_state_(gathering_state) {}
- virtual void RunIfValid() OVERRIDE {
+ virtual void RunIfValid() override {
client_->didChangeICEGatheringState(gathering_state_);
client_->didChangeICEConnectionState(connection_state_);
}
@@ -129,7 +129,7 @@ class RemoteDataChannelTask
client_(client),
delegate_(delegate) {}
- virtual void RunIfValid() OVERRIDE {
+ virtual void RunIfValid() override {
WebRTCDataChannelInit init;
WebRTCDataChannelHandler* remote_data_channel =
new MockWebRTCDataChannelHandler(

Powered by Google App Engine
This is Rietveld 408576698