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

Side by Side Diff: remoting/protocol/webrtc_video_renderer_adapter.cc

Issue 1969053002: Fix include path for moved thread_task_runner_handle.h header in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 | « remoting/protocol/webrtc_transport.cc ('k') | remoting/signaling/fake_signal_strategy.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 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 "remoting/protocol/webrtc_video_renderer_adapter.h" 5 #include "remoting/protocol/webrtc_video_renderer_adapter.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
14 #include "base/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
15 #include "remoting/protocol/frame_consumer.h" 15 #include "remoting/protocol/frame_consumer.h"
16 #include "third_party/libyuv/include/libyuv/video_common.h" 16 #include "third_party/libyuv/include/libyuv/video_common.h"
17 #include "third_party/webrtc/media/base/videoframe.h" 17 #include "third_party/webrtc/media/base/videoframe.h"
18 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" 18 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
19 19
20 namespace remoting { 20 namespace remoting {
21 namespace protocol { 21 namespace protocol {
22 22
23 WebrtcVideoRendererAdapter::WebrtcVideoRendererAdapter( 23 WebrtcVideoRendererAdapter::WebrtcVideoRendererAdapter(
24 scoped_refptr<webrtc::MediaStreamInterface> media_stream, 24 scoped_refptr<webrtc::MediaStreamInterface> media_stream,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 } 74 }
75 75
76 void WebrtcVideoRendererAdapter::DrawFrame( 76 void WebrtcVideoRendererAdapter::DrawFrame(
77 std::unique_ptr<webrtc::DesktopFrame> frame) { 77 std::unique_ptr<webrtc::DesktopFrame> frame) {
78 DCHECK(task_runner_->BelongsToCurrentThread()); 78 DCHECK(task_runner_->BelongsToCurrentThread());
79 frame_consumer_->DrawFrame(std::move(frame), base::Closure()); 79 frame_consumer_->DrawFrame(std::move(frame), base::Closure());
80 } 80 }
81 81
82 } // namespace protocol 82 } // namespace protocol
83 } // namespace remoting 83 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/webrtc_transport.cc ('k') | remoting/signaling/fake_signal_strategy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698