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

Unified Diff: content/common/media/audio_messages.h

Issue 2582533002: Simplify AudioInputRendererHost IPC interface. (Closed)
Patch Set: Rebase. Created 3 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
Index: content/common/media/audio_messages.h
diff --git a/content/common/media/audio_messages.h b/content/common/media/audio_messages.h
index 5a3f6316ab0b86e12c84918ec6d79eca6cfb49cc..aed29734983a172eee0f1eddf55d0f861f16fe6a 100644
--- a/content/common/media/audio_messages.h
+++ b/content/common/media/audio_messages.h
@@ -23,9 +23,6 @@
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START AudioMsgStart
-IPC_ENUM_TRAITS_MAX_VALUE(media::AudioInputIPCDelegateState,
- media::AUDIO_INPUT_IPC_DELEGATE_STATE_LAST)
-
IPC_ENUM_TRAITS_MAX_VALUE(media::OutputDeviceStatus,
media::OUTPUT_DEVICE_STATUS_MAX)
@@ -74,13 +71,7 @@ IPC_MESSAGE_CONTROL5(
IPC_MESSAGE_CONTROL1(AudioMsg_NotifyStreamError, int /* stream id */)
// Notification message sent from browser to renderer for state update.
-IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyStreamStateChanged,
- int /* stream id */,
- media::AudioInputIPCDelegateState /* new state */)
-
-IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyStreamVolume,
- int /* stream id */,
- double /* volume */)
+IPC_MESSAGE_CONTROL1(AudioInputMsg_NotifyStreamError, int /* stream id */)
// Messages sent from the renderer to the browser.

Powered by Google App Engine
This is Rietveld 408576698