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

Side by Side Diff: webkit/renderer/media/simple_video_frame_provider.cc

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "webkit/renderer/media/simple_video_frame_provider.h" 5 #include "webkit/renderer/media/simple_video_frame_provider.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/message_loop_proxy.h" 9 #include "base/message_loop/message_loop_proxy.h"
10 #include "media/base/video_frame.h" 10 #include "media/base/video_frame.h"
11 11
12 namespace webkit_media { 12 namespace webkit_media {
13 13
14 SimpleVideoFrameProvider::SimpleVideoFrameProvider( 14 SimpleVideoFrameProvider::SimpleVideoFrameProvider(
15 const gfx::Size& size, 15 const gfx::Size& size,
16 const base::TimeDelta& frame_duration, 16 const base::TimeDelta& frame_duration,
17 const base::Closure& error_cb, 17 const base::Closure& error_cb,
18 const VideoFrameProvider::RepaintCB& repaint_cb) 18 const VideoFrameProvider::RepaintCB& repaint_cb)
19 : message_loop_proxy_(base::MessageLoopProxy::current()), 19 : message_loop_proxy_(base::MessageLoopProxy::current()),
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 } 74 }
75 75
76 current_time_ += frame_duration_; 76 current_time_ += frame_duration_;
77 message_loop_proxy_->PostDelayedTask( 77 message_loop_proxy_->PostDelayedTask(
78 FROM_HERE, 78 FROM_HERE,
79 base::Bind(&SimpleVideoFrameProvider::GenerateFrame, this), 79 base::Bind(&SimpleVideoFrameProvider::GenerateFrame, this),
80 frame_duration_); 80 frame_duration_);
81 } 81 }
82 82
83 } // namespace webkit_media 83 } // namespace webkit_media
OLDNEW
« no previous file with comments | « webkit/renderer/media/crypto/ppapi_decryptor.cc ('k') | webkit/renderer/media/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698