1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "cc/test/fake_video_frame_provider.h"
9 FakeVideoFrameProvider::FakeVideoFrameProvider()
10 : frame_(NULL
), client_(NULL
) {}
12 FakeVideoFrameProvider::~FakeVideoFrameProvider() {
14 client_
->StopUsingProvider();
17 void FakeVideoFrameProvider::SetVideoFrameProviderClient(Client
* client
) {
21 scoped_refptr
<media::VideoFrame
> FakeVideoFrameProvider::GetCurrentFrame() {