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

Side by Side Diff: media/cast/sender/video_sender_unittest.cc

Issue 661163004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/sender/video_encoder_impl_unittest.cc ('k') | media/cast/test/end2end_unittest.cc » ('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 #include <stdint.h> 5 #include <stdint.h>
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 testing_clock_, 148 testing_clock_,
149 dummy_endpoint, 149 dummy_endpoint,
150 make_scoped_ptr(new base::DictionaryValue), 150 make_scoped_ptr(new base::DictionaryValue),
151 base::Bind(&UpdateCastTransportStatus), 151 base::Bind(&UpdateCastTransportStatus),
152 BulkRawEventsCallback(), 152 BulkRawEventsCallback(),
153 base::TimeDelta(), 153 base::TimeDelta(),
154 task_runner_, 154 task_runner_,
155 &transport_)); 155 &transport_));
156 } 156 }
157 157
158 virtual ~VideoSenderTest() {} 158 ~VideoSenderTest() override {}
159 159
160 virtual void TearDown() override { 160 void TearDown() override {
161 video_sender_.reset(); 161 video_sender_.reset();
162 task_runner_->RunTasks(); 162 task_runner_->RunTasks();
163 } 163 }
164 164
165 static void UpdateCastTransportStatus(CastTransportStatus status) { 165 static void UpdateCastTransportStatus(CastTransportStatus status) {
166 EXPECT_EQ(TRANSPORT_VIDEO_INITIALIZED, status); 166 EXPECT_EQ(TRANSPORT_VIDEO_INITIALIZED, status);
167 } 167 }
168 168
169 // If |external| is true then external video encoder (VEA) is used. 169 // If |external| is true then external video encoder (VEA) is used.
170 // |expect_init_sucess| is true if initialization is expected to succeed. 170 // |expect_init_sucess| is true if initialization is expected to succeed.
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 cast_feedback.ack_frame_id = 0; 531 cast_feedback.ack_frame_id = 0;
532 video_sender_->OnReceivedCastFeedback(cast_feedback); 532 video_sender_->OnReceivedCastFeedback(cast_feedback);
533 533
534 transport_.SetPause(false); 534 transport_.SetPause(false);
535 RunTasks(33); 535 RunTasks(33);
536 EXPECT_EQ(0, transport_.number_of_rtp_packets()); 536 EXPECT_EQ(0, transport_.number_of_rtp_packets());
537 } 537 }
538 538
539 } // namespace cast 539 } // namespace cast
540 } // namespace media 540 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/sender/video_encoder_impl_unittest.cc ('k') | media/cast/test/end2end_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698