diff options
author | sehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-10 21:14:41 +0000 |
---|---|---|
committer | sehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-10 21:14:41 +0000 |
commit | 59f7ccc38ba284da223ac29a1dc846a7e52ebf58 (patch) | |
tree | 6f8ed99862994680de08f21f453f3e3949718257 /third_party/npapi/bindings | |
parent | 7cb9b9d185985932741755f88d2889bc25362751 (diff) | |
download | chromium_src-59f7ccc38ba284da223ac29a1dc846a7e52ebf58.zip chromium_src-59f7ccc38ba284da223ac29a1dc846a7e52ebf58.tar.gz chromium_src-59f7ccc38ba284da223ac29a1dc846a7e52ebf58.tar.bz2 |
base::SharedMemory does not set the size in other than the creating
process. Create an API to get the size of the audio shared memory
region.
Review URL: http://codereview.chromium.org/596038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38665 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/npapi/bindings')
-rw-r--r-- | third_party/npapi/bindings/npapi_extensions_private.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/third_party/npapi/bindings/npapi_extensions_private.h b/third_party/npapi/bindings/npapi_extensions_private.h index b333d21..34c2af5 100644 --- a/third_party/npapi/bindings/npapi_extensions_private.h +++ b/third_party/npapi/bindings/npapi_extensions_private.h @@ -13,7 +13,10 @@ typedef enum { NPExtensionsReservedStateSharedMemory = 66536, // Used by the Device2D and Audio devices to return a pointer to the // structure used to implement the shared memory buffer for the device. - NPExtensionsReservedStateSyncChannel = 66537 + NPExtensionsReservedStateSharedMemorySize = 66537, + // Used by the Audio device to return a pointer to the + // structure used to implement the shared memory buffer for the device. + NPExtensionsReservedStateSyncChannel = 66538 // Used by the Audio device to return a pointer to the // structure used to implement the synchronization channel for the device. } NPExtensionsReservedStates; |