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

Unified Diff: media/filters/file_data_source.h

Issue 655713003: Standardize usage of virtual/override/final in media/ (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
« no previous file with comments | « media/filters/ffmpeg_video_decoder.h ('k') | media/filters/gpu_video_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/file_data_source.h
diff --git a/media/filters/file_data_source.h b/media/filters/file_data_source.h
index b743e0ff2b7c1a8bcc897561e066871297e8acdd..ebffee59d9eeb82de850db9d3b69503ceef78371 100644
--- a/media/filters/file_data_source.h
+++ b/media/filters/file_data_source.h
@@ -20,17 +20,19 @@ class MEDIA_EXPORT FileDataSource : public DataSource {
public:
FileDataSource();
explicit FileDataSource(base::File file);
- virtual ~FileDataSource();
+ ~FileDataSource() override;
bool Initialize(const base::FilePath& file_path);
// Implementation of DataSource.
- virtual void Stop() override;
- virtual void Read(int64 position, int size, uint8* data,
- const DataSource::ReadCB& read_cb) override;
- virtual bool GetSize(int64* size_out) override;
- virtual bool IsStreaming() override;
- virtual void SetBitrate(int bitrate) override;
+ void Stop() override;
+ void Read(int64 position,
+ int size,
+ uint8* data,
+ const DataSource::ReadCB& read_cb) override;
+ bool GetSize(int64* size_out) override;
+ bool IsStreaming() override;
+ void SetBitrate(int bitrate) override;
// Unit test helpers. Recreate the object if you want the default behaviour.
void force_read_errors_for_testing() { force_read_errors_ = true; }
« no previous file with comments | « media/filters/ffmpeg_video_decoder.h ('k') | media/filters/gpu_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698