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

Side by Side Diff: content/renderer/media/media_stream_video_renderer_sink_unittest.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/macros.h"
6 #include "base/run_loop.h" 7 #include "base/run_loop.h"
7 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
8 #include "content/child/child_process.h" 9 #include "content/child/child_process.h"
9 #include "content/renderer/media/media_stream_video_renderer_sink.h" 10 #include "content/renderer/media/media_stream_video_renderer_sink.h"
10 #include "content/renderer/media/mock_media_stream_registry.h" 11 #include "content/renderer/media/mock_media_stream_registry.h"
11 #include "media/base/video_frame.h" 12 #include "media/base/video_frame.h"
12 #include "media/renderers/gpu_video_accelerator_factories.h" 13 #include "media/renderers/gpu_video_accelerator_factories.h"
13 #include "media/renderers/mock_gpu_memory_buffer_video_frame_pool.h" 14 #include "media/renderers/mock_gpu_memory_buffer_video_frame_pool.h"
14 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 ASSERT_EQ(1u, frame_ready_cbs_.size()); 149 ASSERT_EQ(1u, frame_ready_cbs_.size());
149 150
150 EXPECT_CALL(*this, RepaintCallback(video_frame)).Times(1); 151 EXPECT_CALL(*this, RepaintCallback(video_frame)).Times(1);
151 frame_ready_cbs_[0].Run(); 152 frame_ready_cbs_[0].Run();
152 message_loop_.RunUntilIdle(); 153 message_loop_.RunUntilIdle();
153 154
154 media_stream_video_renderer_sink_->Stop(); 155 media_stream_video_renderer_sink_->Stop();
155 } 156 }
156 157
157 } // namespace content 158 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_video_renderer_sink.h ('k') | content/renderer/media/media_stream_video_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698