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

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

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (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
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/html_video_element_capturer_source.h" 5 #include "content/renderer/media/html_video_element_capturer_source.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
9 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "content/public/renderer/render_thread.h" 10 #include "content/public/renderer/render_thread.h"
11 #include "content/renderer/media/media_stream_video_source.h" 11 #include "content/renderer/media/media_stream_video_source.h"
12 #include "content/renderer/media/webrtc_uma_histograms.h" 12 #include "content/renderer/media/webrtc_uma_histograms.h"
13 #include "media/base/limits.h" 13 #include "media/base/limits.h"
14 #include "media/blink/webmediaplayer_impl.h" 14 #include "media/blink/webmediaplayer_impl.h"
15 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" 15 #include "third_party/WebKit/public/platform/WebMediaPlayer.h"
16 #include "third_party/WebKit/public/platform/WebRect.h" 16 #include "third_party/WebKit/public/platform/WebRect.h"
17 #include "third_party/WebKit/public/platform/WebSize.h" 17 #include "third_party/WebKit/public/platform/WebSize.h"
18 #include "third_party/libyuv/include/libyuv.h" 18 #include "third_party/libyuv/include/libyuv.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 next_capture_time_ = current_time; 182 next_capture_time_ = current_time;
183 } 183 }
184 // Schedule next capture. 184 // Schedule next capture.
185 base::MessageLoop::current()->PostDelayedTask( 185 base::MessageLoop::current()->PostDelayedTask(
186 FROM_HERE, base::Bind(&HtmlVideoElementCapturerSource::sendNewFrame, 186 FROM_HERE, base::Bind(&HtmlVideoElementCapturerSource::sendNewFrame,
187 weak_factory_.GetWeakPtr()), 187 weak_factory_.GetWeakPtr()),
188 next_capture_time_ - current_time); 188 next_capture_time_ - current_time);
189 } 189 }
190 190
191 } // namespace content 191 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698