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

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

Issue 11828060: Roll libjingle 257:260. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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.h" 5 #include "content/renderer/media/rtc_video_decoder.h"
6 6
7 #include <deque> 7 #include <deque>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 class MockVideoTrack : public webrtc::VideoTrackInterface { 119 class MockVideoTrack : public webrtc::VideoTrackInterface {
120 public: 120 public:
121 static MockVideoTrack* Create() { 121 static MockVideoTrack* Create() {
122 return new talk_base::RefCountedObject<MockVideoTrack>(); 122 return new talk_base::RefCountedObject<MockVideoTrack>();
123 } 123 }
124 124
125 virtual std::string kind() const OVERRIDE { 125 virtual std::string kind() const OVERRIDE {
126 NOTIMPLEMENTED(); 126 NOTIMPLEMENTED();
127 return ""; 127 return "";
128 } 128 }
129 virtual std::string label() const OVERRIDE { 129 virtual std::string id() const OVERRIDE {
130 NOTIMPLEMENTED(); 130 NOTIMPLEMENTED();
131 return ""; 131 return "";
132 } 132 }
133 virtual bool enabled() const OVERRIDE { 133 virtual bool enabled() const OVERRIDE {
134 NOTIMPLEMENTED(); 134 NOTIMPLEMENTED();
135 return false; 135 return false;
136 } 136 }
137 virtual TrackState state() const OVERRIDE { 137 virtual TrackState state() const OVERRIDE {
138 NOTIMPLEMENTED(); 138 NOTIMPLEMENTED();
139 return kEnded; 139 return kEnded;
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 Stop(); 331 Stop();
332 332
333 // Any read after stopping should be immediately satisfied. 333 // Any read after stopping should be immediately satisfied.
334 EXPECT_CALL(*this, FrameReady(media::VideoDecoder::kOk, 334 EXPECT_CALL(*this, FrameReady(media::VideoDecoder::kOk,
335 scoped_refptr<media::VideoFrame>())); 335 scoped_refptr<media::VideoFrame>()));
336 decoder_->Read(read_cb_); 336 decoder_->Read(read_cb_);
337 message_loop_.RunUntilIdle(); 337 message_loop_.RunUntilIdle();
338 } 338 }
339 339
340 } // namespace content 340 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/rtc_peer_connection_handler_unittest.cc ('k') | third_party/libjingle/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698