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

Side by Side Diff: content/common/gpu/media/android_video_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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_ANDROID_VIDEO_DECODE_ACCELERATOR_H_ 5 #ifndef CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_DECODE_ACCELERATOR_H_
6 #define CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_DECODE_ACCELERATOR_H_ 6 #define CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_DECODE_ACCELERATOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
11 #include <map> 11 #include <map>
12 #include <memory>
12 #include <queue> 13 #include <queue>
13 #include <string> 14 #include <string>
14 #include <vector> 15 #include <vector>
15 16
16 #include "base/compiler_specific.h" 17 #include "base/compiler_specific.h"
17 #include "base/threading/thread_checker.h" 18 #include "base/threading/thread_checker.h"
18 #include "base/timer/timer.h" 19 #include "base/timer/timer.h"
19 #include "content/common/content_export.h" 20 #include "content/common/content_export.h"
20 #include "content/common/gpu/media/avda_state_provider.h" 21 #include "content/common/gpu/media/avda_state_provider.h"
21 #include "content/common/gpu/media/gpu_video_decode_accelerator_helpers.h" 22 #include "content/common/gpu/media/gpu_video_decode_accelerator_helpers.h"
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 385
385 // WeakPtrFactory for posting tasks back to |this|. 386 // WeakPtrFactory for posting tasks back to |this|.
386 base::WeakPtrFactory<AndroidVideoDecodeAccelerator> weak_this_factory_; 387 base::WeakPtrFactory<AndroidVideoDecodeAccelerator> weak_this_factory_;
387 388
388 friend class AndroidVideoDecodeAcceleratorTest; 389 friend class AndroidVideoDecodeAcceleratorTest;
389 }; 390 };
390 391
391 } // namespace content 392 } // namespace content
392 393
393 #endif // CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_DECODE_ACCELERATOR_H_ 394 #endif // CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_DECODE_ACCELERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698