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

Unified Diff: ppapi/api/trusted/ppb_audio_input_trusted_dev.idl

Issue 11366038: Rewrite PPB_AudioInput_Dev to use the new-style host/resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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
« no previous file with comments | « ppapi/api/dev/ppb_audio_input_dev.idl ('k') | ppapi/c/dev/ppb_audio_input_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/trusted/ppb_audio_input_trusted_dev.idl
diff --git a/ppapi/api/trusted/ppb_audio_input_trusted_dev.idl b/ppapi/api/trusted/ppb_audio_input_trusted_dev.idl
deleted file mode 100644
index 228ecbc990b9ddca98762ccff6475ac99b47085f..0000000000000000000000000000000000000000
--- a/ppapi/api/trusted/ppb_audio_input_trusted_dev.idl
+++ /dev/null
@@ -1,52 +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 input interface.
- */
-
-label Chrome {
- M17 = 0.1
-};
-
-/**
- * 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 input
- * resource; most of the PPB_AudioInput interface is also usable on this
- * resource.
- */
-[version=0.1, macro="PPB_AUDIO_INPUT_TRUSTED_DEV_INTERFACE"]
-interface PPB_AudioInputTrusted_Dev {
- /** Returns an audio input resource. */
- PP_Resource CreateTrusted(
- [in] PP_Instance instance);
-
- /**
- * Opens a paused audio input 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_input,
- [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_input,
- [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_input,
- [out] handle_t shm_handle,
- [out] uint32_t shm_size);
-};
« no previous file with comments | « ppapi/api/dev/ppb_audio_input_dev.idl ('k') | ppapi/c/dev/ppb_audio_input_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698