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

Side by Side Diff: media/renderers/renderer_impl_unittest.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef 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 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>
6
5 #include <vector> 7 #include <vector>
6 8
7 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h"
8 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
9 #include "base/run_loop.h" 12 #include "base/run_loop.h"
10 #include "base/test/simple_test_tick_clock.h" 13 #include "base/test/simple_test_tick_clock.h"
11 #include "media/base/gmock_callback_support.h" 14 #include "media/base/gmock_callback_support.h"
12 #include "media/base/mock_filters.h" 15 #include "media/base/mock_filters.h"
13 #include "media/base/test_helpers.h" 16 #include "media/base/test_helpers.h"
14 #include "media/renderers/renderer_impl.h" 17 #include "media/renderers/renderer_impl.h"
15 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
16 19
17 using ::testing::_; 20 using ::testing::_;
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 .WillOnce( 599 .WillOnce(
597 SetBufferingState(&audio_buffering_state_cb_, BUFFERING_HAVE_ENOUGH)); 600 SetBufferingState(&audio_buffering_state_cb_, BUFFERING_HAVE_ENOUGH));
598 EXPECT_CALL(*video_renderer_, StartPlayingFrom(kStartTime)); 601 EXPECT_CALL(*video_renderer_, StartPlayingFrom(kStartTime));
599 renderer_impl_->StartPlayingFrom(kStartTime); 602 renderer_impl_->StartPlayingFrom(kStartTime);
600 603
601 // Nothing else should primed on the message loop. 604 // Nothing else should primed on the message loop.
602 base::RunLoop().RunUntilIdle(); 605 base::RunLoop().RunUntilIdle();
603 } 606 }
604 607
605 } // namespace media 608 } // namespace media
OLDNEW
« no previous file with comments | « media/renderers/mock_gpu_video_accelerator_factories.h ('k') | media/renderers/skcanvas_video_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698