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

Side by Side Diff: media/base/encoded_bitstream_buffer.h

Issue 19284015: Use a direct include of the shared_memory header in media/, ppapi/, webkit/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
« no previous file with comments | « media/base/bitstream_buffer.h ('k') | media/base/video_frame.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 MEDIA_BASE_ENCODED_BITSTREAM_BUFFER_H_ 5 #ifndef MEDIA_BASE_ENCODED_BITSTREAM_BUFFER_H_
6 #define MEDIA_BASE_ENCODED_BITSTREAM_BUFFER_H_ 6 #define MEDIA_BASE_ENCODED_BITSTREAM_BUFFER_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/shared_memory.h" 10 #include "base/memory/shared_memory.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "media/base/media_export.h" 12 #include "media/base/media_export.h"
13 #include "media/video/video_encode_types.h" 13 #include "media/video/video_encode_types.h"
14 14
15 namespace media { 15 namespace media {
16 16
17 // General encoded video bitstream buffer. 17 // General encoded video bitstream buffer.
18 class MEDIA_EXPORT EncodedBitstreamBuffer : 18 class MEDIA_EXPORT EncodedBitstreamBuffer :
19 public base::RefCountedThreadSafe<EncodedBitstreamBuffer> { 19 public base::RefCountedThreadSafe<EncodedBitstreamBuffer> {
20 public: 20 public:
(...skipping 22 matching lines...) Expand all
43 const base::SharedMemoryHandle shared_memory_handle_; 43 const base::SharedMemoryHandle shared_memory_handle_;
44 media::BufferEncodingMetadata metadata_; 44 media::BufferEncodingMetadata metadata_;
45 const base::Closure destroy_cb_; 45 const base::Closure destroy_cb_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(EncodedBitstreamBuffer); 47 DISALLOW_COPY_AND_ASSIGN(EncodedBitstreamBuffer);
48 }; 48 };
49 49
50 } // namespace media 50 } // namespace media
51 51
52 #endif // MEDIA_BASE_ENCODED_BITSTREAM_BUFFER_H_ 52 #endif // MEDIA_BASE_ENCODED_BITSTREAM_BUFFER_H_
OLDNEW
« no previous file with comments | « media/base/bitstream_buffer.h ('k') | media/base/video_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698