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

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

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc 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 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 "content/renderer/media/video_track_recorder.h" 5 #include "content/renderer/media/video_track_recorder.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ptr_util.h"
12 #include "base/sys_info.h" 13 #include "base/sys_info.h"
13 #include "base/task_runner_util.h" 14 #include "base/task_runner_util.h"
14 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
15 #include "base/threading/thread_task_runner_handle.h" 16 #include "base/threading/thread_task_runner_handle.h"
16 #include "base/time/time.h" 17 #include "base/time/time.h"
17 #include "base/trace_event/trace_event.h" 18 #include "base/trace_event/trace_event.h"
18 #include "content/renderer/media/renderer_gpu_video_accelerator_factories.h" 19 #include "content/renderer/media/renderer_gpu_video_accelerator_factories.h"
19 #include "content/renderer/render_thread_impl.h" 20 #include "content/renderer/render_thread_impl.h"
20 #include "media/base/bind_to_current_loop.h" 21 #include "media/base/bind_to_current_loop.h"
21 #include "media/base/video_frame.h" 22 #include "media/base/video_frame.h"
(...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 encoder_->SetPaused(paused_before_init_); 1156 encoder_->SetPaused(paused_before_init_);
1156 1157
1157 // StartFrameEncode() will be called on Render IO thread. 1158 // StartFrameEncode() will be called on Render IO thread.
1158 MediaStreamVideoSink::ConnectToTrack( 1159 MediaStreamVideoSink::ConnectToTrack(
1159 track_, 1160 track_,
1160 base::Bind(&VideoTrackRecorder::Encoder::StartFrameEncode, encoder_), 1161 base::Bind(&VideoTrackRecorder::Encoder::StartFrameEncode, encoder_),
1161 false); 1162 false);
1162 } 1163 }
1163 1164
1164 } // namespace content 1165 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/input/input_event_filter_unittest.cc ('k') | content/renderer/mus/compositor_mus_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698