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

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

Issue 132163006: Rename media/base/bind_to_loop.h to media/base/bind_to_current_loop.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 "content/renderer/media/rtc_video_decoder_bridge_tv.h" 5 #include "content/renderer/media/rtc_video_decoder_bridge_tv.h"
6 6
7 #include <queue> 7 #include <queue>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback_helpers.h" 10 #include "base/callback_helpers.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/singleton.h" 14 #include "base/memory/singleton.h"
15 #include "base/message_loop/message_loop_proxy.h" 15 #include "base/message_loop/message_loop_proxy.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "content/renderer/media/rtc_video_decoder_factory_tv.h" 17 #include "content/renderer/media/rtc_video_decoder_factory_tv.h"
18 #include "media/base/bind_to_loop.h" 18 #include "media/base/bind_to_current_loop.h"
19 #include "media/base/decoder_buffer.h" 19 #include "media/base/decoder_buffer.h"
20 #include "third_party/libjingle/source/talk/base/ratetracker.h" 20 #include "third_party/libjingle/source/talk/base/ratetracker.h"
21 21
22 namespace content { 22 namespace content {
23 23
24 RTCVideoDecoderBridgeTv::RTCVideoDecoderBridgeTv( 24 RTCVideoDecoderBridgeTv::RTCVideoDecoderBridgeTv(
25 RTCVideoDecoderFactoryTv* factory) 25 RTCVideoDecoderFactoryTv* factory)
26 : factory_(factory), 26 : factory_(factory),
27 is_initialized_(false), 27 is_initialized_(false),
28 first_frame_(true) {} 28 first_frame_(true) {}
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 is_initialized_ = false; 104 is_initialized_ = false;
105 return WEBRTC_VIDEO_CODEC_OK; 105 return WEBRTC_VIDEO_CODEC_OK;
106 } 106 }
107 107
108 int32_t RTCVideoDecoderBridgeTv::Reset() { 108 int32_t RTCVideoDecoderBridgeTv::Reset() {
109 first_frame_ = true; 109 first_frame_ = true;
110 return WEBRTC_VIDEO_CODEC_OK; 110 return WEBRTC_VIDEO_CODEC_OK;
111 } 111 }
112 112
113 } // namespace content 113 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698