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

Unified Diff: remoting/protocol/rtp_video_writer_unittest.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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 | « remoting/protocol/rtp_video_writer.cc ('k') | remoting/protocol/util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/rtp_video_writer_unittest.cc
diff --git a/remoting/protocol/rtp_video_writer_unittest.cc b/remoting/protocol/rtp_video_writer_unittest.cc
index e993e5ac33b8f067aa75b6df6c4b22aae6677e62..90484b154447c8e106369ee3a29a9cc56b566ce3 100644
--- a/remoting/protocol/rtp_video_writer_unittest.cc
+++ b/remoting/protocol/rtp_video_writer_unittest.cc
@@ -132,7 +132,7 @@ class RtpVideoWriterTest : public testing::Test {
TEST_F(RtpVideoWriterTest, NotFragmented_FirstPacket) {
InitPacket(1024, true, false);
writer_.ProcessVideoPacket(
- packet_, base::Bind(&DeletePointer<VideoPacket>, packet_));
+ packet_, base::Bind(&base::DeletePointer<VideoPacket>, packet_));
message_loop_.RunAllPending();
ExpectedPacket expected[] = {
@@ -144,7 +144,7 @@ TEST_F(RtpVideoWriterTest, NotFragmented_FirstPacket) {
TEST_F(RtpVideoWriterTest, NotFragmented_LastPackes) {
InitPacket(1024, false, true);
writer_.ProcessVideoPacket(
- packet_, base::Bind(&DeletePointer<VideoPacket>, packet_));
+ packet_, base::Bind(&base::DeletePointer<VideoPacket>, packet_));
message_loop_.RunAllPending();
ExpectedPacket expected[] = {
@@ -156,7 +156,7 @@ TEST_F(RtpVideoWriterTest, NotFragmented_LastPackes) {
TEST_F(RtpVideoWriterTest, TwoFragments_FirstPacket) {
InitPacket(2000, true, false);
writer_.ProcessVideoPacket(
- packet_, base::Bind(&DeletePointer<VideoPacket>, packet_));
+ packet_, base::Bind(&base::DeletePointer<VideoPacket>, packet_));
message_loop_.RunAllPending();
ExpectedPacket expected[] = {
@@ -169,7 +169,7 @@ TEST_F(RtpVideoWriterTest, TwoFragments_FirstPacket) {
TEST_F(RtpVideoWriterTest, TwoFragments_LastPacket) {
InitPacket(2000, false, true);
writer_.ProcessVideoPacket(
- packet_, base::Bind(&DeletePointer<VideoPacket>, packet_));
+ packet_, base::Bind(&base::DeletePointer<VideoPacket>, packet_));
message_loop_.RunAllPending();
ExpectedPacket expected[] = {
@@ -182,7 +182,7 @@ TEST_F(RtpVideoWriterTest, TwoFragments_LastPacket) {
TEST_F(RtpVideoWriterTest, ThreeFragments) {
InitPacket(3000, true, true);
writer_.ProcessVideoPacket(
- packet_, base::Bind(&DeletePointer<VideoPacket>, packet_));
+ packet_, base::Bind(&base::DeletePointer<VideoPacket>, packet_));
message_loop_.RunAllPending();
ExpectedPacket expected[] = {
« no previous file with comments | « remoting/protocol/rtp_video_writer.cc ('k') | remoting/protocol/util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698