diff options
author | dcheng <dcheng@chromium.org> | 2014-10-21 05:23:27 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-21 12:24:04 +0000 |
commit | c24565478f64d1aa4d07e83c69d00bad11fa2665 (patch) | |
tree | ec3572cc086984ca8dcdb2c2740c1b8e163dd0b0 /media/cast/logging | |
parent | 3fc12db4bdf0829f206dafbb23d411ff502d7de6 (diff) | |
download | chromium_src-c24565478f64d1aa4d07e83c69d00bad11fa2665.zip chromium_src-c24565478f64d1aa4d07e83c69d00bad11fa2665.tar.gz chromium_src-c24565478f64d1aa4d07e83c69d00bad11fa2665.tar.bz2 |
Standardize usage of virtual/override/final in media/
This patch was automatically generated by applying clang fixit hints
generated by the plugin to the source tree.
BUG=417463
TBR=ddorwin@chromium.org
Review URL: https://codereview.chromium.org/655713003
Cr-Commit-Position: refs/heads/master@{#300471}
Diffstat (limited to 'media/cast/logging')
-rw-r--r-- | media/cast/logging/encoding_event_subscriber.h | 6 | ||||
-rw-r--r-- | media/cast/logging/receiver_time_offset_estimator.h | 2 | ||||
-rw-r--r-- | media/cast/logging/receiver_time_offset_estimator_impl.h | 10 | ||||
-rw-r--r-- | media/cast/logging/simple_event_subscriber.h | 6 | ||||
-rw-r--r-- | media/cast/logging/stats_event_subscriber.h | 6 |
5 files changed, 15 insertions, 15 deletions
diff --git a/media/cast/logging/encoding_event_subscriber.h b/media/cast/logging/encoding_event_subscriber.h index 58dccbb..a67e5bc 100644 --- a/media/cast/logging/encoding_event_subscriber.h +++ b/media/cast/logging/encoding_event_subscriber.h @@ -49,11 +49,11 @@ class EncodingEventSubscriber : public RawEventSubscriber { // timestamp). EncodingEventSubscriber(EventMediaType event_media_type, size_t max_frames); - virtual ~EncodingEventSubscriber(); + ~EncodingEventSubscriber() override; // RawReventSubscriber implementations. - virtual void OnReceiveFrameEvent(const FrameEvent& frame_event) override; - virtual void OnReceivePacketEvent(const PacketEvent& packet_event) override; + void OnReceiveFrameEvent(const FrameEvent& frame_event) override; + void OnReceivePacketEvent(const PacketEvent& packet_event) override; // Assigns frame events and packet events received so far to |frame_events| // and |packet_events| and resets the internal state. diff --git a/media/cast/logging/receiver_time_offset_estimator.h b/media/cast/logging/receiver_time_offset_estimator.h index 5880a8d..6fb5f67 100644 --- a/media/cast/logging/receiver_time_offset_estimator.h +++ b/media/cast/logging/receiver_time_offset_estimator.h @@ -24,7 +24,7 @@ namespace cast { // timestamp. class ReceiverTimeOffsetEstimator : public RawEventSubscriber { public: - virtual ~ReceiverTimeOffsetEstimator() {} + ~ReceiverTimeOffsetEstimator() override {} // If bounds are known, assigns |lower_bound| and |upper_bound| with the // lower bound and upper bound for the offset value, respectively. diff --git a/media/cast/logging/receiver_time_offset_estimator_impl.h b/media/cast/logging/receiver_time_offset_estimator_impl.h index f39cfa2..bc5348b 100644 --- a/media/cast/logging/receiver_time_offset_estimator_impl.h +++ b/media/cast/logging/receiver_time_offset_estimator_impl.h @@ -36,15 +36,15 @@ class ReceiverTimeOffsetEstimatorImpl : public ReceiverTimeOffsetEstimator { public: ReceiverTimeOffsetEstimatorImpl(); - virtual ~ReceiverTimeOffsetEstimatorImpl(); + ~ReceiverTimeOffsetEstimatorImpl() override; // RawEventSubscriber implementations. - virtual void OnReceiveFrameEvent(const FrameEvent& frame_event) override; - virtual void OnReceivePacketEvent(const PacketEvent& packet_event) override; + void OnReceiveFrameEvent(const FrameEvent& frame_event) override; + void OnReceivePacketEvent(const PacketEvent& packet_event) override; // ReceiverTimeOffsetEstimator implementation. - virtual bool GetReceiverOffsetBounds(base::TimeDelta* lower_bound, - base::TimeDelta* upper_bound) override; + bool GetReceiverOffsetBounds(base::TimeDelta* lower_bound, + base::TimeDelta* upper_bound) override; private: // This helper uses the difference between sent and recived event diff --git a/media/cast/logging/simple_event_subscriber.h b/media/cast/logging/simple_event_subscriber.h index 3f816e0..176ab8c 100644 --- a/media/cast/logging/simple_event_subscriber.h +++ b/media/cast/logging/simple_event_subscriber.h @@ -22,11 +22,11 @@ class SimpleEventSubscriber : public RawEventSubscriber { public: SimpleEventSubscriber(); - virtual ~SimpleEventSubscriber(); + ~SimpleEventSubscriber() override; // RawEventSubscriber implementations. - virtual void OnReceiveFrameEvent(const FrameEvent& frame_event) override; - virtual void OnReceivePacketEvent(const PacketEvent& packet_event) override; + void OnReceiveFrameEvent(const FrameEvent& frame_event) override; + void OnReceivePacketEvent(const PacketEvent& packet_event) override; // Assigns frame events received so far to |frame_events| and clears them // from this object. diff --git a/media/cast/logging/stats_event_subscriber.h b/media/cast/logging/stats_event_subscriber.h index d376313..2039402 100644 --- a/media/cast/logging/stats_event_subscriber.h +++ b/media/cast/logging/stats_event_subscriber.h @@ -32,11 +32,11 @@ class StatsEventSubscriber : public RawEventSubscriber { base::TickClock* clock, ReceiverTimeOffsetEstimator* offset_estimator); - virtual ~StatsEventSubscriber(); + ~StatsEventSubscriber() override; // RawReventSubscriber implementations. - virtual void OnReceiveFrameEvent(const FrameEvent& frame_event) override; - virtual void OnReceivePacketEvent(const PacketEvent& packet_event) override; + void OnReceiveFrameEvent(const FrameEvent& frame_event) override; + void OnReceivePacketEvent(const PacketEvent& packet_event) override; // Returns stats as a DictionaryValue. The dictionary contains one entry - // "audio" or "video" pointing to an inner dictionary. |