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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h

Issue 10826296: Introduce shared_memory_support media target for PPAPI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h b/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h
index 79ad4e5f85f502e1369b407da52bbbae6dc8aa1c..85e494b2e77b81aca97c03f704532f58a86ca31b 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h
@@ -77,14 +77,6 @@ const struct PP_ThreadFunctions* GetThreadCreator();
// PPAPI constants used in the proxy.
extern const PP_Resource kInvalidResourceId;
-// The following function TotalSharedMemorySizeInBytes, is copied & similar
-// to the one in audio_util.cc. This function includes optional fields
-// stored at the end of the audio buffer.
-inline size_t TotalAudioSharedMemorySizeInBytes(size_t audio_buffer_size) {
- // Include optional field that communicates the number of bytes written.
- return audio_buffer_size + sizeof(uint32_t);
-}
-
} // namespace ppapi_proxy
#endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_GLOBALS_H_

Powered by Google App Engine
This is Rietveld 408576698