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

Unified Diff: content/renderer/media/webrtc/mock_peer_connection_dependency_factory.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/mock_peer_connection_dependency_factory.cc
diff --git a/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc b/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc
index d059fc96f44c3c9ee7bd22261eb0ebc51a9f1e88..7d7b49fbba44eacb441eada0c927ed76c387ab9a 100644
--- a/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc
+++ b/content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc
@@ -132,7 +132,7 @@ class MockRtcVideoCapturer : public WebRtcVideoCapturerAdapter {
}
virtual void OnFrameCaptured(
- const scoped_refptr<media::VideoFrame>& frame) OVERRIDE {
+ const scoped_refptr<media::VideoFrame>& frame) override {
++number_of_capturered_frames_;
width_ = frame->visible_rect().width();
height_ = frame->visible_rect().height();
@@ -353,40 +353,40 @@ class MockSessionDescription : public SessionDescriptionInterface {
sdp_(sdp) {
}
virtual ~MockSessionDescription() {}
- virtual cricket::SessionDescription* description() OVERRIDE {
+ virtual cricket::SessionDescription* description() override {
NOTIMPLEMENTED();
return NULL;
}
- virtual const cricket::SessionDescription* description() const OVERRIDE {
+ virtual const cricket::SessionDescription* description() const override {
NOTIMPLEMENTED();
return NULL;
}
- virtual std::string session_id() const OVERRIDE {
+ virtual std::string session_id() const override {
NOTIMPLEMENTED();
return std::string();
}
- virtual std::string session_version() const OVERRIDE {
+ virtual std::string session_version() const override {
NOTIMPLEMENTED();
return std::string();
}
- virtual std::string type() const OVERRIDE {
+ virtual std::string type() const override {
return type_;
}
- virtual bool AddCandidate(const IceCandidateInterface* candidate) OVERRIDE {
+ virtual bool AddCandidate(const IceCandidateInterface* candidate) override {
NOTIMPLEMENTED();
return false;
}
- virtual size_t number_of_mediasections() const OVERRIDE {
+ virtual size_t number_of_mediasections() const override {
NOTIMPLEMENTED();
return 0;
}
virtual const IceCandidateCollection* candidates(
- size_t mediasection_index) const OVERRIDE {
+ size_t mediasection_index) const override {
NOTIMPLEMENTED();
return NULL;
}
- virtual bool ToString(std::string* out) const OVERRIDE {
+ virtual bool ToString(std::string* out) const override {
*out = sdp_;
return true;
}
@@ -408,16 +408,16 @@ class MockIceCandidate : public IceCandidateInterface {
candidate_.set_address(rtc::SocketAddress("127.0.0.1", 5000));
}
virtual ~MockIceCandidate() {}
- virtual std::string sdp_mid() const OVERRIDE {
+ virtual std::string sdp_mid() const override {
return sdp_mid_;
}
- virtual int sdp_mline_index() const OVERRIDE {
+ virtual int sdp_mline_index() const override {
return sdp_mline_index_;
}
- virtual const cricket::Candidate& candidate() const OVERRIDE {
+ virtual const cricket::Candidate& candidate() const override {
return candidate_;
}
- virtual bool ToString(std::string* out) const OVERRIDE {
+ virtual bool ToString(std::string* out) const override {
*out = sdp_;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698