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

Side by Side Diff: media/cast/test/fake_gpu_video_accelerator_factories.cc

Issue 144303004: Revert of Revert of Revert of Remove threading from RendererGpuVideoAcceleratorFactories (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dthread
Patch Set: Created 6 years, 10 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
OLDNEW
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
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
OLDNEW
« no previous file with comments | « media/cast/test/fake_gpu_video_accelerator_factories.h ('k') | media/filters/gpu_video_accelerator_factories.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698