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

Side by Side Diff: content/public/gpu/gpu_video_decode_accelerator_factory.h

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CONTENT_PUBLIC_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_ 5 #ifndef CONTENT_PUBLIC_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_
6 #define CONTENT_PUBLIC_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_ 6 #define CONTENT_PUBLIC_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_
7 7
8 #include <memory>
9
8 #include "base/callback.h" 10 #include "base/callback.h"
9 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
10 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
11 #include "gpu/config/gpu_info.h" 13 #include "gpu/config/gpu_info.h"
12 #include "media/video/video_decode_accelerator.h" 14 #include "media/video/video_decode_accelerator.h"
13 15
14 namespace gfx { 16 namespace gfx {
15 class GLContext; 17 class GLContext;
16 } 18 }
17 19
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // GpuVideoDecodeAcceleratorFactory, see crbug.com/597150 and related. 87 // GpuVideoDecodeAcceleratorFactory, see crbug.com/597150 and related.
86 GpuVideoDecodeAcceleratorFactory( 88 GpuVideoDecodeAcceleratorFactory(
87 std::unique_ptr<GpuVideoDecodeAcceleratorFactoryImpl> gvdafactory_impl); 89 std::unique_ptr<GpuVideoDecodeAcceleratorFactoryImpl> gvdafactory_impl);
88 90
89 std::unique_ptr<GpuVideoDecodeAcceleratorFactoryImpl> gvdafactory_impl_; 91 std::unique_ptr<GpuVideoDecodeAcceleratorFactoryImpl> gvdafactory_impl_;
90 }; 92 };
91 93
92 } // namespace content 94 } // namespace content
93 95
94 #endif // CONTENT_PUBLIC_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_ 96 #endif // CONTENT_PUBLIC_GPU_GPU_VIDEO_DECODE_ACCELERATOR_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698