summaryrefslogtreecommitdiffstats
path: root/ppapi/api/trusted/ppb_audio_trusted.idl
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-01 00:17:22 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-01 00:17:22 +0000
commit914f5269eed1c8651d53f93d4181738f1344a108 (patch)
tree6ae9ea60cbccafaec2899eaf1ea7a4f958220302 /ppapi/api/trusted/ppb_audio_trusted.idl
parent0fafc8de47e8aa377e3fb96fc914fbe7399fe9c6 (diff)
downloadchromium_src-914f5269eed1c8651d53f93d4181738f1344a108.zip
chromium_src-914f5269eed1c8651d53f93d4181738f1344a108.tar.gz
chromium_src-914f5269eed1c8651d53f93d4181738f1344a108.tar.bz2
Remove unused trusted interfaces.
Several trusted interfaces were originally used internally by the IPC proxy and the NaCl srpc proxy. The IPC proxy switched to using C++ *_API classes directly, and the srpc proxy is no more, so there's no user of these anymore. BUG=None Review URL: https://chromiumcodereview.appspot.com/16253003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203526 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api/trusted/ppb_audio_trusted.idl')
-rw-r--r--ppapi/api/trusted/ppb_audio_trusted.idl57
1 files changed, 0 insertions, 57 deletions
diff --git a/ppapi/api/trusted/ppb_audio_trusted.idl b/ppapi/api/trusted/ppb_audio_trusted.idl
deleted file mode 100644
index 6ea74b7..0000000
--- a/ppapi/api/trusted/ppb_audio_trusted.idl
+++ /dev/null
@@ -1,57 +0,0 @@
-/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/**
- * This file defines the trusted audio interface.
- */
-
-[generate_thunk]
-
-label Chrome {
- M14 = 0.6
-};
-
-/**
- * This interface is to be used by proxy implementations. All
- * functions should be called from the main thread only. The
- * resource returned is an Audio resource; most of the PPB_Audio
- * interface is also usable on this resource.
- */
-[mainthread, macro="PPB_AUDIO_TRUSTED_INTERFACE"]
-interface PPB_AudioTrusted {
- /** Returns an audio resource. */
- PP_Resource CreateTrusted(
- [in] PP_Instance instance);
-
- /**
- * Opens a paused audio interface, used by trusted side of proxy.
- * Returns PP_ERROR_WOULD_BLOCK on success, and invokes
- * the |create_callback| asynchronously to complete.
- * As this function should always be invoked from the main thread,
- * do not use the blocking variant of PP_CompletionCallback.
- */
- int32_t Open(
- [in] PP_Resource audio,
- [in] PP_Resource config,
- [in] PP_CompletionCallback create_callback);
-
- /**
- * Get the sync socket. Use once Open has completed.
- * Returns PP_OK on success.
- */
- int32_t GetSyncSocket(
- [in] PP_Resource audio,
- [out] handle_t sync_socket);
-
- /**
- * Get the shared memory interface. Use once Open has completed.
- * Returns PP_OK on success.
- */
- int32_t GetSharedMemory(
- [in] PP_Resource audio,
- [out] handle_t shm_handle,
- [out] uint32_t shm_size);
-};
-