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

Unified Diff: media/blink/buffered_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/base/wall_clock_time_source.h ('k') | media/blink/buffered_data_source_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/buffered_data_source.h
diff --git a/media/blink/buffered_data_source.h b/media/blink/buffered_data_source.h
index 5d2cd666347be5381f3a4a45c20cbf03186e71ff..a3eabe85c2ebce4d5b42851c16bd41b4911a5abf 100644
--- a/media/blink/buffered_data_source.h
+++ b/media/blink/buffered_data_source.h
@@ -70,7 +70,7 @@ class MEDIA_EXPORT BufferedDataSource : public DataSource {
MediaLog* media_log,
BufferedDataSourceHost* host,
const DownloadingCB& downloading_cb);
- virtual ~BufferedDataSource();
+ ~BufferedDataSource() override;
// Executes |init_cb| with the result of initialization when it has completed.
//
@@ -108,13 +108,15 @@ class MEDIA_EXPORT BufferedDataSource : public DataSource {
// DataSource implementation.
// Called from demuxer thread.
- 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;
protected:
// A factory method to create a BufferedResourceLoader based on the read
« no previous file with comments | « media/base/wall_clock_time_source.h ('k') | media/blink/buffered_data_source_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698