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

Unified Diff: content/renderer/media/webrtc/media_stream_track_metrics_unittest.cc

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (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/renderer/media/webrtc/media_stream_track_metrics_unittest.cc
diff --git a/content/renderer/media/webrtc/media_stream_track_metrics_unittest.cc b/content/renderer/media/webrtc/media_stream_track_metrics_unittest.cc
index c2466e83045f29b887fbb67d4de2d7917feec831..e001c02ac5c4bc2212799747873537e97b6dd58b 100644
--- a/content/renderer/media/webrtc/media_stream_track_metrics_unittest.cc
+++ b/content/renderer/media/webrtc/media_stream_track_metrics_unittest.cc
@@ -26,7 +26,7 @@ class MockAudioTrackInterface : public AudioTrackInterface {
explicit MockAudioTrackInterface(const std::string& id) : id_(id) {}
virtual ~MockAudioTrackInterface() {}
- virtual std::string id() const OVERRIDE { return id_; }
+ virtual std::string id() const override { return id_; }
MOCK_METHOD1(RegisterObserver, void(ObserverInterface*));
MOCK_METHOD1(UnregisterObserver, void(ObserverInterface*));
@@ -49,7 +49,7 @@ class MockVideoTrackInterface : public VideoTrackInterface {
explicit MockVideoTrackInterface(const std::string& id) : id_(id) {}
virtual ~MockVideoTrackInterface() {}
- virtual std::string id() const OVERRIDE { return id_; }
+ virtual std::string id() const override { return id_; }
MOCK_METHOD1(RegisterObserver, void(ObserverInterface*));
MOCK_METHOD1(UnregisterObserver, void(ObserverInterface*));
@@ -78,12 +78,12 @@ class MockMediaStreamTrackMetrics : public MediaStreamTrackMetrics {
class MediaStreamTrackMetricsTest : public testing::Test {
public:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
metrics_.reset(new MockMediaStreamTrackMetrics());
stream_ = new rtc::RefCountedObject<MockMediaStream>("stream");
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
metrics_.reset();
stream_ = NULL;
}

Powered by Google App Engine
This is Rietveld 408576698