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

Side by Side Diff: content/common/gpu/media/vaapi_jpeg_decode_accelerator.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_COMMON_GPU_MEDIA_VAAPI_JPEG_DECODE_ACCELERATOR_H_ 5 #ifndef CONTENT_COMMON_GPU_MEDIA_VAAPI_JPEG_DECODE_ACCELERATOR_H_
6 #define CONTENT_COMMON_GPU_MEDIA_VAAPI_JPEG_DECODE_ACCELERATOR_H_ 6 #define CONTENT_COMMON_GPU_MEDIA_VAAPI_JPEG_DECODE_ACCELERATOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory>
11
10 #include "base/macros.h" 12 #include "base/macros.h"
11 #include "base/memory/linked_ptr.h" 13 #include "base/memory/linked_ptr.h"
12 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
13 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
14 #include "base/synchronization/lock.h" 16 #include "base/synchronization/lock.h"
15 #include "base/threading/non_thread_safe.h" 17 #include "base/threading/non_thread_safe.h"
16 #include "base/threading/thread.h" 18 #include "base/threading/thread.h"
17 #include "content/common/content_export.h" 19 #include "content/common/content_export.h"
18 #include "content/common/gpu/media/shared_memory_region.h" 20 #include "content/common/gpu/media/shared_memory_region.h"
19 #include "content/common/gpu/media/vaapi_jpeg_decoder.h" 21 #include "content/common/gpu/media/vaapi_jpeg_decoder.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 113
112 // The WeakPtrFactory for |weak_this_|. 114 // The WeakPtrFactory for |weak_this_|.
113 base::WeakPtrFactory<VaapiJpegDecodeAccelerator> weak_this_factory_; 115 base::WeakPtrFactory<VaapiJpegDecodeAccelerator> weak_this_factory_;
114 116
115 DISALLOW_COPY_AND_ASSIGN(VaapiJpegDecodeAccelerator); 117 DISALLOW_COPY_AND_ASSIGN(VaapiJpegDecodeAccelerator);
116 }; 118 };
117 119
118 } // namespace content 120 } // namespace content
119 121
120 #endif // CONTENT_COMMON_GPU_MEDIA_VAAPI_JPEG_DECODE_ACCELERATOR_H_ 122 #endif // CONTENT_COMMON_GPU_MEDIA_VAAPI_JPEG_DECODE_ACCELERATOR_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/v4l2_video_encode_accelerator.cc ('k') | content/common/gpu/media/vaapi_jpeg_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698