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

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

Issue 1175003004: Change audio IPC enums from kConstantStyle to MACRO_STYLE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 57dd4a66b67945af617f71968b2c925ca4f86b92..35ff56ee5423f96683ca6411ace440d71cd39ffd 100644
--- a/content/common/media/audio_messages.h
+++ b/content/common/media/audio_messages.h
@@ -19,11 +19,11 @@
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START AudioMsgStart
-IPC_ENUM_TRAITS_MAX_VALUE(media::AudioInputIPCDelegate::State,
- media::AudioInputIPCDelegate::kStateLast)
+IPC_ENUM_TRAITS_MAX_VALUE(media::AudioInputIPCDelegateState,
+ media::AUDIO_INPUT_IPC_DELEGATE_STATE_LAST)
-IPC_ENUM_TRAITS_MAX_VALUE(media::AudioOutputIPCDelegate::State,
- media::AudioOutputIPCDelegate::kStateLast)
+IPC_ENUM_TRAITS_MAX_VALUE(media::AudioOutputIPCDelegateState,
+ media::AUDIO_OUTPUT_IPC_DELEGATE_STATE_LAST)
IPC_STRUCT_BEGIN(AudioInputHostMsg_CreateStream_Config)
IPC_STRUCT_MEMBER(media::AudioParameters, params)
@@ -60,12 +60,12 @@ IPC_MESSAGE_CONTROL5(
// update after the renderer has requested a Create/Start/Close.
IPC_MESSAGE_CONTROL2(AudioMsg_NotifyStreamStateChanged,
int /* stream id */,
- media::AudioOutputIPCDelegate::State /* new state */)
+ media::AudioOutputIPCDelegateState /* new state */)
// Notification message sent from browser to renderer for state update.
IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyStreamStateChanged,
int /* stream id */,
- media::AudioInputIPCDelegate::State /* new state */)
+ media::AudioInputIPCDelegateState /* new state */)
IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyStreamVolume,
int /* stream id */,

Powered by Google App Engine
This is Rietveld 408576698