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

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

Issue 2418493002: //media/midi: use top level namespace midi rather than media.midi (Closed)
Patch Set: TAG name change s/media_midi/midi/ Created 4 years, 2 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 | « content/browser/media/midi_host_unittest.cc ('k') | content/renderer/media/midi_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/media/midi_messages.h
diff --git a/content/common/media/midi_messages.h b/content/common/media/midi_messages.h
index 504b395687e8208a6d4e6e35a19f9051875d918e..44747a9b957daa9171b1ae7fde850ccf35fb5f8d 100644
--- a/content/common/media/midi_messages.h
+++ b/content/common/media/midi_messages.h
@@ -18,10 +18,10 @@
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START MidiMsgStart
-IPC_ENUM_TRAITS_MAX_VALUE(media::midi::MidiPortState,
- media::midi::MIDI_PORT_STATE_LAST)
+IPC_ENUM_TRAITS_MAX_VALUE(midi::MidiPortState,
+ midi::MIDI_PORT_STATE_LAST)
-IPC_STRUCT_TRAITS_BEGIN(media::midi::MidiPortInfo)
+IPC_STRUCT_TRAITS_BEGIN(midi::MidiPortInfo)
IPC_STRUCT_TRAITS_MEMBER(id)
IPC_STRUCT_TRAITS_MEMBER(manufacturer)
IPC_STRUCT_TRAITS_MEMBER(name)
@@ -29,7 +29,7 @@ IPC_STRUCT_TRAITS_BEGIN(media::midi::MidiPortInfo)
IPC_STRUCT_TRAITS_MEMBER(state)
IPC_STRUCT_TRAITS_END()
-IPC_ENUM_TRAITS_MAX_VALUE(media::midi::Result, media::midi::Result::MAX)
+IPC_ENUM_TRAITS_MAX_VALUE(midi::Result, midi::Result::MAX)
// Messages for IPC between MidiMessageFilter and MidiHost.
@@ -46,20 +46,20 @@ IPC_MESSAGE_CONTROL0(MidiHostMsg_EndSession)
// Messages sent from the browser to the renderer.
IPC_MESSAGE_CONTROL1(MidiMsg_AddInputPort,
- media::midi::MidiPortInfo /* input port */)
+ midi::MidiPortInfo /* input port */)
IPC_MESSAGE_CONTROL1(MidiMsg_AddOutputPort,
- media::midi::MidiPortInfo /* output port */)
+ midi::MidiPortInfo /* output port */)
IPC_MESSAGE_CONTROL2(MidiMsg_SetInputPortState,
uint32_t /* port */,
- media::midi::MidiPortState /* state */)
+ midi::MidiPortState /* state */)
IPC_MESSAGE_CONTROL2(MidiMsg_SetOutputPortState,
uint32_t /* port */,
- media::midi::MidiPortState /* state */)
+ midi::MidiPortState /* state */)
-IPC_MESSAGE_CONTROL1(MidiMsg_SessionStarted, media::midi::Result /* result */)
+IPC_MESSAGE_CONTROL1(MidiMsg_SessionStarted, midi::Result /* result */)
IPC_MESSAGE_CONTROL3(MidiMsg_DataReceived,
uint32_t /* port */,
« no previous file with comments | « content/browser/media/midi_host_unittest.cc ('k') | content/renderer/media/midi_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698