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

Unified Diff: ppapi/c/dev/ppb_audio_trusted_dev.h

Issue 6281007: Remove dev/audio, dev/audio_config, and dev/audio_trusted... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
« no previous file with comments | « ppapi/c/dev/ppb_audio_dev.h ('k') | ppapi/cpp/dev/audio_config_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppb_audio_trusted_dev.h
===================================================================
--- ppapi/c/dev/ppb_audio_trusted_dev.h (revision 71865)
+++ ppapi/c/dev/ppb_audio_trusted_dev.h (working copy)
@@ -1,50 +0,0 @@
-/* Copyright (c) 2010 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.
- */
-#ifndef PPAPI_C_DEV_PPB_AUDIO_TRUSTED_DEV_H_
-#define PPAPI_C_DEV_PPB_AUDIO_TRUSTED_DEV_H_
-
-#include "ppapi/c/pp_completion_callback.h"
-#include "ppapi/c/pp_instance.h"
-#include "ppapi/c/pp_resource.h"
-
-#define PPB_AUDIO_TRUSTED_DEV_INTERFACE "PPB_AudioTrusted(Dev);0.3"
-
-/**
- * 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_Dev
- * interface is also usable on this resource.
- */
-struct PPB_AudioTrusted_Dev {
- /** Returns an audio resource. */
- PP_Resource (*CreateTrusted)(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)(PP_Resource audio, PP_Resource config,
- struct PP_CompletionCallback create_callback);
-
- /**
- * Get the sync socket. Use once Open has completed.
- * Returns PP_OK on success.
- */
- int32_t (*GetSyncSocket)(PP_Resource audio, int* sync_socket);
-
- /**
- * Get the shared memory interface. Use once Open has completed.
- * Returns PP_OK on success.
- */
- int32_t (*GetSharedMemory)(PP_Resource audio,
- int* shm_handle,
- uint32_t* shm_size);
-};
-
-#endif /* PPAPI_C_DEV_PPB_AUDIO_TRUSTED_DEV_H_ */
-
« no previous file with comments | « ppapi/c/dev/ppb_audio_dev.h ('k') | ppapi/cpp/dev/audio_config_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698