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

Side by Side Diff: media/mojo/clients/mojo_renderer_unittest.cc

Issue 2596283002: Include-what-you-use for ThreadTaskRunnerHandle. (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « media/gpu/video_encode_accelerator_unittest.cc ('k') | media/remoting/remote_renderer_impl.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "base/bind.h" 7 #include "base/bind.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/run_loop.h" 9 #include "base/run_loop.h"
10 #include "base/test/test_message_loop.h" 10 #include "base/test/test_message_loop.h"
11 #include "base/threading/platform_thread.h" 11 #include "base/threading/platform_thread.h"
12 #include "base/threading/thread_task_runner_handle.h"
12 #include "base/timer/elapsed_timer.h" 13 #include "base/timer/elapsed_timer.h"
13 #include "media/base/audio_renderer_sink.h" 14 #include "media/base/audio_renderer_sink.h"
14 #include "media/base/cdm_config.h" 15 #include "media/base/cdm_config.h"
15 #include "media/base/cdm_context.h" 16 #include "media/base/cdm_context.h"
16 #include "media/base/gmock_callback_support.h" 17 #include "media/base/gmock_callback_support.h"
17 #include "media/base/mock_filters.h" 18 #include "media/base/mock_filters.h"
18 #include "media/base/test_helpers.h" 19 #include "media/base/test_helpers.h"
19 #include "media/base/video_renderer_sink.h" 20 #include "media/base/video_renderer_sink.h"
20 #include "media/cdm/default_cdm_factory.h" 21 #include "media/cdm/default_cdm_factory.h"
21 #include "media/mojo/clients/mojo_renderer.h" 22 #include "media/mojo/clients/mojo_renderer.h"
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 Play(); 458 Play();
458 remote_renderer_client_->OnError(PIPELINE_ERROR_DECODE); 459 remote_renderer_client_->OnError(PIPELINE_ERROR_DECODE);
459 base::RunLoop().RunUntilIdle(); 460 base::RunLoop().RunUntilIdle();
460 461
461 EXPECT_CALL(*mock_renderer_, SetPlaybackRate(0.0)).Times(1); 462 EXPECT_CALL(*mock_renderer_, SetPlaybackRate(0.0)).Times(1);
462 mojo_renderer_->SetPlaybackRate(0.0); 463 mojo_renderer_->SetPlaybackRate(0.0);
463 Flush(); 464 Flush();
464 } 465 }
465 466
466 } // namespace media 467 } // namespace media
OLDNEW
« no previous file with comments | « media/gpu/video_encode_accelerator_unittest.cc ('k') | media/remoting/remote_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698