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

Side by Side Diff: media/remoting/remote_renderer_impl.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
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 "media/remoting/remote_renderer_impl.h" 5 #include "media/remoting/remote_renderer_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/callback_helpers.h" 12 #include "base/callback_helpers.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/threading/thread_task_runner_handle.h"
14 #include "base/time/time.h" 15 #include "base/time/time.h"
15 #include "media/base/bind_to_current_loop.h" 16 #include "media/base/bind_to_current_loop.h"
16 #include "media/base/demuxer_stream_provider.h" 17 #include "media/base/demuxer_stream_provider.h"
17 #include "media/remoting/remote_demuxer_stream_adapter.h" 18 #include "media/remoting/remote_demuxer_stream_adapter.h"
18 #include "media/remoting/remoting_renderer_controller.h" 19 #include "media/remoting/remoting_renderer_controller.h"
19 #include "media/remoting/rpc/proto_enum_utils.h" 20 #include "media/remoting/rpc/proto_enum_utils.h"
20 #include "media/remoting/rpc/proto_utils.h" 21 #include "media/remoting/rpc/proto_utils.h"
21 22
22 namespace media { 23 namespace media {
23 24
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 RemotingInterstitialType interstitial_type) { 645 RemotingInterstitialType interstitial_type) {
645 DCHECK(media_task_runner_->BelongsToCurrentThread()); 646 DCHECK(media_task_runner_->BelongsToCurrentThread());
646 if (!background_image.drawsNothing()) 647 if (!background_image.drawsNothing())
647 interstitial_background_ = background_image; 648 interstitial_background_ = background_image;
648 canvas_size_ = canvas_size; 649 canvas_size_ = canvas_size;
649 PaintRemotingInterstitial(interstitial_background_, canvas_size_, 650 PaintRemotingInterstitial(interstitial_background_, canvas_size_,
650 interstitial_type, video_renderer_sink_); 651 interstitial_type, video_renderer_sink_);
651 } 652 }
652 653
653 } // namespace media 654 } // namespace media
OLDNEW
« no previous file with comments | « media/mojo/clients/mojo_renderer_unittest.cc ('k') | media/remoting/remote_renderer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698