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

Side by Side Diff: media/base/android/stream_texture_wrapper.h

Issue 2354903003: Don't include the tracing in gpu_memory_buffer.h (Closed)
Patch Set: Fix linux build again Created 4 years, 3 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
« no previous file with comments | « gpu/ipc/client/gpu_memory_buffer_impl_test_template.h ('k') | media/base/video_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 MEDIA_BASE_ANDROID_STREAM_TEXTURE_WRAPPER_H_ 5 #ifndef MEDIA_BASE_ANDROID_STREAM_TEXTURE_WRAPPER_H_
6 #define MEDIA_BASE_ANDROID_STREAM_TEXTURE_WRAPPER_H_ 6 #define MEDIA_BASE_ANDROID_STREAM_TEXTURE_WRAPPER_H_
7 7
8 #include "base/single_thread_task_runner.h"
8 #include "media/base/video_frame.h" 9 #include "media/base/video_frame.h"
9 10
10 namespace media { 11 namespace media {
11 class VideoFrame; 12 class VideoFrame;
12 13
13 // StreamTextureWrapper encapsulates a StreamTexture's creation, initialization 14 // StreamTextureWrapper encapsulates a StreamTexture's creation, initialization
14 // and registration for later retrieval (in the Browser process). 15 // and registration for later retrieval (in the Browser process).
15 // 16 //
16 // TODO(tguilbert): Support registering the underlying SurfaceTexture so it can 17 // TODO(tguilbert): Support registering the underlying SurfaceTexture so it can
17 // be used by a MediaPlayer in the browser process. See crbug.com/627658. 18 // be used by a MediaPlayer in the browser process. See crbug.com/627658.
(...skipping 28 matching lines...) Expand all
46 // See StreamTextureWrapperImpl. 47 // See StreamTextureWrapperImpl.
47 virtual void Destroy() = 0; 48 virtual void Destroy() = 0;
48 }; 49 };
49 50
50 typedef std::unique_ptr<StreamTextureWrapper, StreamTextureWrapper::Deleter> 51 typedef std::unique_ptr<StreamTextureWrapper, StreamTextureWrapper::Deleter>
51 ScopedStreamTextureWrapper; 52 ScopedStreamTextureWrapper;
52 53
53 } // namespace media 54 } // namespace media
54 55
55 #endif // MEDIA_BASE_ANDROID_STREAM_TEXTURE_WRAPPER_H_ 56 #endif // MEDIA_BASE_ANDROID_STREAM_TEXTURE_WRAPPER_H_
OLDNEW
« no previous file with comments | « gpu/ipc/client/gpu_memory_buffer_impl_test_template.h ('k') | media/base/video_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698