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

Side by Side Diff: media/cast/test/fake_receiver_time_offset_estimator.h

Issue 623263003: replace OVERRIDE and FINAL with override and 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 unified diff | Download patch
« no previous file with comments | « media/cast/test/end2end_unittest.cc ('k') | media/cast/test/fake_single_thread_task_runner.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_CAST_TEST_FAKE_RECEIVER_TIME_OFFSET_ESTIMATOR_H_ 5 #ifndef MEDIA_CAST_TEST_FAKE_RECEIVER_TIME_OFFSET_ESTIMATOR_H_
6 #define MEDIA_CAST_TEST_FAKE_RECEIVER_TIME_OFFSET_ESTIMATOR_H_ 6 #define MEDIA_CAST_TEST_FAKE_RECEIVER_TIME_OFFSET_ESTIMATOR_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "base/threading/thread_checker.h" 9 #include "base/threading/thread_checker.h"
10 #include "media/cast/logging/logging_defines.h" 10 #include "media/cast/logging/logging_defines.h"
11 #include "media/cast/logging/receiver_time_offset_estimator.h" 11 #include "media/cast/logging/receiver_time_offset_estimator.h"
12 12
13 namespace media { 13 namespace media {
14 namespace cast { 14 namespace cast {
15 namespace test { 15 namespace test {
16 16
17 // This class is used for testing. It will always return the |offset| value 17 // This class is used for testing. It will always return the |offset| value
18 // provided during construction as offset bounds. 18 // provided during construction as offset bounds.
19 class FakeReceiverTimeOffsetEstimator : public ReceiverTimeOffsetEstimator { 19 class FakeReceiverTimeOffsetEstimator : public ReceiverTimeOffsetEstimator {
20 public: 20 public:
21 FakeReceiverTimeOffsetEstimator(base::TimeDelta offset); 21 FakeReceiverTimeOffsetEstimator(base::TimeDelta offset);
22 22
23 virtual ~FakeReceiverTimeOffsetEstimator(); 23 virtual ~FakeReceiverTimeOffsetEstimator();
24 24
25 // RawReventSubscriber implementations. 25 // RawReventSubscriber implementations.
26 virtual void OnReceiveFrameEvent(const FrameEvent& frame_event) OVERRIDE; 26 virtual void OnReceiveFrameEvent(const FrameEvent& frame_event) override;
27 virtual void OnReceivePacketEvent(const PacketEvent& packet_event) OVERRIDE; 27 virtual void OnReceivePacketEvent(const PacketEvent& packet_event) override;
28 28
29 // ReceiverTimeOffsetEstimator 29 // ReceiverTimeOffsetEstimator
30 virtual bool GetReceiverOffsetBounds(base::TimeDelta* lower_bound, 30 virtual bool GetReceiverOffsetBounds(base::TimeDelta* lower_bound,
31 base::TimeDelta* upper_bound) OVERRIDE; 31 base::TimeDelta* upper_bound) override;
32 32
33 private: 33 private:
34 const base::TimeDelta offset_; 34 const base::TimeDelta offset_;
35 DISALLOW_COPY_AND_ASSIGN(FakeReceiverTimeOffsetEstimator); 35 DISALLOW_COPY_AND_ASSIGN(FakeReceiverTimeOffsetEstimator);
36 }; 36 };
37 37
38 } // namespace test 38 } // namespace test
39 } // namespace cast 39 } // namespace cast
40 } // namespace media 40 } // namespace media
41 41
42 #endif // MEDIA_CAST_TEST_FAKE_RECEIVER_TIME_OFFSET_ESTIMATOR_H_ 42 #endif // MEDIA_CAST_TEST_FAKE_RECEIVER_TIME_OFFSET_ESTIMATOR_H_
OLDNEW
« no previous file with comments | « media/cast/test/end2end_unittest.cc ('k') | media/cast/test/fake_single_thread_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698