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

Side by Side Diff: media/audio/shared_memory_util.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/audio/cross_process_notification_unittest.cc ('k') | media/base/bitstream_buffer.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AUDIO_SHARED_MEMORY_UTIL_H_ 5 #ifndef MEDIA_AUDIO_SHARED_MEMORY_UTIL_H_
6 #define MEDIA_AUDIO_SHARED_MEMORY_UTIL_H_ 6 #define MEDIA_AUDIO_SHARED_MEMORY_UTIL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/shared_memory.h" 9 #include "base/memory/shared_memory.h"
10 #include "media/base/media_export.h" 10 #include "media/base/media_export.h"
11 11
12 namespace media { 12 namespace media {
13 13
14 // Value sent by the controller to the renderer in low-latency mode 14 // Value sent by the controller to the renderer in low-latency mode
15 // indicating that the stream is paused. 15 // indicating that the stream is paused.
16 enum { kPauseMark = -1 }; 16 enum { kPauseMark = -1 };
17 17
18 // Functions that handle data buffer passed between processes in the shared 18 // Functions that handle data buffer passed between processes in the shared
19 // memory. Called on both IPC sides. These are necessary because the shared 19 // memory. Called on both IPC sides. These are necessary because the shared
(...skipping 10 matching lines...) Expand all
30 uint32 packet_size, 30 uint32 packet_size,
31 uint32 actual_data_size); 31 uint32 actual_data_size);
32 MEDIA_EXPORT void SetUnknownDataSize(base::SharedMemory* shared_memory, 32 MEDIA_EXPORT void SetUnknownDataSize(base::SharedMemory* shared_memory,
33 uint32 packet_size); 33 uint32 packet_size);
34 MEDIA_EXPORT bool IsUnknownDataSize(base::SharedMemory* shared_memory, 34 MEDIA_EXPORT bool IsUnknownDataSize(base::SharedMemory* shared_memory,
35 uint32 packet_size); 35 uint32 packet_size);
36 36
37 } // namespace media 37 } // namespace media
38 38
39 #endif // MEDIA_AUDIO_SHARED_MEMORY_UTIL_H_ 39 #endif // MEDIA_AUDIO_SHARED_MEMORY_UTIL_H_
OLDNEW
« no previous file with comments | « media/audio/cross_process_notification_unittest.cc ('k') | media/base/bitstream_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698