OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "media/cast/test/fake_gpu_video_accelerator_factories.h" | 5 #include "media/cast/test/fake_gpu_video_accelerator_factories.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "media/cast/test/fake_video_encode_accelerator.h" | 8 #include "media/cast/test/fake_video_encode_accelerator.h" |
9 | 9 |
10 namespace media { | 10 namespace media { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 } | 48 } |
49 | 49 |
50 scoped_ptr<VideoDecodeAccelerator> | 50 scoped_ptr<VideoDecodeAccelerator> |
51 FakeGpuVideoAcceleratorFactories::CreateVideoDecodeAccelerator( | 51 FakeGpuVideoAcceleratorFactories::CreateVideoDecodeAccelerator( |
52 VideoCodecProfile profile, | 52 VideoCodecProfile profile, |
53 VideoDecodeAccelerator::Client* client) { | 53 VideoDecodeAccelerator::Client* client) { |
54 return scoped_ptr<VideoDecodeAccelerator>( | 54 return scoped_ptr<VideoDecodeAccelerator>( |
55 static_cast<media::VideoDecodeAccelerator*>(NULL)); | 55 static_cast<media::VideoDecodeAccelerator*>(NULL)); |
56 } | 56 } |
57 | 57 |
58 bool FakeGpuVideoAcceleratorFactories::IsAborted() { return false; } | |
59 | |
60 } // namespace test | 58 } // namespace test |
61 } // namespace cast | 59 } // namespace cast |
62 } // namespace media | 60 } // namespace media |
OLD | NEW |