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

Unified Diff: remoting/client/plugin/media_source_video_renderer.cc

Issue 667123002: Standardize usage of virtual/override/final in remoting/ (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: remoting/client/plugin/media_source_video_renderer.cc
diff --git a/remoting/client/plugin/media_source_video_renderer.cc b/remoting/client/plugin/media_source_video_renderer.cc
index e6d21b8f7ca2d2a69cba9407b4ec03d355dcdc5a..812d7007aed1a26eeb90434c33110ad19a62dad6 100644
--- a/remoting/client/plugin/media_source_video_renderer.cc
+++ b/remoting/client/plugin/media_source_video_renderer.cc
@@ -22,18 +22,18 @@ class MediaSourceVideoRenderer::VideoWriter : public mkvmuxer::IMkvWriter {
typedef std::vector<uint8_t> DataBuffer;
VideoWriter(const webrtc::DesktopSize& frame_size, const char* codec_id);
- virtual ~VideoWriter();
+ ~VideoWriter() override;
const webrtc::DesktopSize& size() { return frame_size_; }
int64_t last_frame_timestamp() { return timecode_ - kFrameIntervalNs; }
// IMkvWriter interface.
- virtual mkvmuxer::int32 Write(const void* buf, mkvmuxer::uint32 len) override;
- virtual mkvmuxer::int64 Position() const override;
- virtual mkvmuxer::int32 Position(mkvmuxer::int64 position) override;
- virtual bool Seekable() const override;
- virtual void ElementStartNotify(mkvmuxer::uint64 element_id,
- mkvmuxer::int64 position) override;
+ mkvmuxer::int32 Write(const void* buf, mkvmuxer::uint32 len) override;
+ mkvmuxer::int64 Position() const override;
+ mkvmuxer::int32 Position(mkvmuxer::int64 position) override;
+ bool Seekable() const override;
+ void ElementStartNotify(mkvmuxer::uint64 element_id,
+ mkvmuxer::int64 position) override;
scoped_ptr<DataBuffer> OnVideoFrame(const std::string& video_data,
bool keyframe);
« no previous file with comments | « remoting/client/plugin/media_source_video_renderer.h ('k') | remoting/client/plugin/normalizing_input_filter_cros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698