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

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: Rebase. 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 1034199e1fa8962498fc533cbcf8c8ca0203ab93..bfa51da1b77aa42bebb8f1965984ff00fccce34a 100644
--- a/content/common/media/audio_messages.h
+++ b/content/common/media/audio_messages.h
@@ -22,11 +22,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_ENUM_TRAITS_MAX_VALUE(media::SwitchOutputDeviceResult,
media::SWITCH_OUTPUT_DEVICE_RESULT_LAST)
@@ -66,12 +66,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