| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 } | 51 } |
| 52 | 52 |
| 53 scoped_ptr<VideoDecodeAccelerator> | 53 scoped_ptr<VideoDecodeAccelerator> |
| 54 FakeGpuVideoAcceleratorFactories::CreateVideoDecodeAccelerator( | 54 FakeGpuVideoAcceleratorFactories::CreateVideoDecodeAccelerator( |
| 55 VideoCodecProfile profile, | 55 VideoCodecProfile profile, |
| 56 VideoDecodeAccelerator::Client* client) { | 56 VideoDecodeAccelerator::Client* client) { |
| 57 return scoped_ptr<VideoDecodeAccelerator>( | 57 return scoped_ptr<VideoDecodeAccelerator>( |
| 58 static_cast<media::VideoDecodeAccelerator*>(NULL)); | 58 static_cast<media::VideoDecodeAccelerator*>(NULL)); |
| 59 } | 59 } |
| 60 | 60 |
| 61 bool FakeGpuVideoAcceleratorFactories::IsAborted() { |
| 62 return false; |
| 63 } |
| 64 |
| 61 } // namespace test | 65 } // namespace test |
| 62 } // namespace cast | 66 } // namespace cast |
| 63 } // namespace media | 67 } // namespace media |
| 64 | 68 |
| OLD | NEW |