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

Unified Diff: content/browser/media/midi_host.h

Issue 2422163002: Web MIDI: use midi_service.mojom for media::midi::PortState (Closed)
Patch Set: gn --check fix 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 | « components/test_runner/mock_web_midi_accessor.cc ('k') | content/browser/media/midi_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/midi_host.h
diff --git a/content/browser/media/midi_host.h b/content/browser/media/midi_host.h
index 993a06c72b0e08152d5170fa353da10f241660ac..95e69031f23bede2e0feb1e11c71e7787aab79bb 100644
--- a/content/browser/media/midi_host.h
+++ b/content/browser/media/midi_host.h
@@ -45,10 +45,8 @@ class CONTENT_EXPORT MidiHost : public BrowserMessageFilter,
void CompleteStartSession(midi::mojom::Result result) override;
void AddInputPort(const midi::MidiPortInfo& info) override;
void AddOutputPort(const midi::MidiPortInfo& info) override;
- void SetInputPortState(uint32_t port,
- midi::MidiPortState state) override;
- void SetOutputPortState(uint32_t port,
- midi::MidiPortState state) override;
+ void SetInputPortState(uint32_t port, midi::mojom::PortState state) override;
+ void SetOutputPortState(uint32_t port, midi::mojom::PortState state) override;
void ReceiveMidiData(uint32_t port,
const uint8_t* data,
size_t length,
« no previous file with comments | « components/test_runner/mock_web_midi_accessor.cc ('k') | content/browser/media/midi_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698