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

Unified Diff: chrome/common/extensions/api/copresence_private.idl

Issue 2131993002: Delete the audio modem and copresence private APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eol
Patch Set: Sync again Created 4 years, 5 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 | « chrome/common/extensions/api/audio_modem.idl ('k') | chrome/common/extensions/api/schemas.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/copresence_private.idl
diff --git a/chrome/common/extensions/api/copresence_private.idl b/chrome/common/extensions/api/copresence_private.idl
deleted file mode 100644
index 6db3420a9fc97e5441f205fe305e6e223ec25fd4..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/copresence_private.idl
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright 2014 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.
-
-// Use the <code>chrome.copresencePrivate</code> API to interface with Chrome
-// from the whispernet_proxy extension.
-namespace copresencePrivate {
- dictionary Token {
- DOMString token;
- boolean audible;
- };
-
- dictionary TokenParameters {
- long length;
- boolean crc;
- boolean parity;
- };
-
- dictionary DecodeSamplesParameters {
- ArrayBuffer samples;
-
- boolean decodeAudible;
- boolean decodeInaudible;
-
- TokenParameters audibleTokenParams;
- TokenParameters inaudibleTokenParams;
- };
-
- dictionary EncodeTokenParameters {
- Token token;
- long repetitions;
- TokenParameters tokenParams;
- };
-
- dictionary AudioParameters {
- // This string contains marshalling of a custom parameters structure
- // that Chrome and the Whispernet wrapper both know about. These are
- // based off //components/copresence/proto/config_data.proto.
- ArrayBuffer paramData;
- };
-
- interface Functions {
- // Send a boolean indicating whether our initialization was successful.
- static void sendInitialized(boolean success);
-
- // Sends an array of found tokens to Chrome.
- static void sendFound(DOMString clientId, Token[] tokens);
-
- // Send an array buffer of samples encoded for the specified token.
- static void sendSamples(DOMString clientId,
- Token token,
- ArrayBuffer samples);
- };
-
- interface Events {
- // Fired to request audio configuration of the whisper.net library.
- static void onConfigAudio(DOMString clientId, AudioParameters audioParams);
-
- // Fired to request encoding of the given token.
- static void onEncodeTokenRequest(DOMString clientId,
- EncodeTokenParameters encodeParams);
-
- // Fired when we have new samples to decode.
- static void onDecodeSamplesRequest(DOMString clientId,
- DecodeSamplesParameters decodeParams);
- };
-};
« no previous file with comments | « chrome/common/extensions/api/audio_modem.idl ('k') | chrome/common/extensions/api/schemas.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698