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

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

Issue 159263004: Remove threading from GpuVideoAcceleratorFactories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 0f7ba9fd NULL pointer fix. 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 | Annotate | Revision Log
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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