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

Unified Diff: components/test_runner/mock_web_midi_accessor.h

Issue 2404443002: Web MIDI: use midi_service.mojom for media::midi::Result (Closed)
Patch Set: yhirano@ review 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
Index: components/test_runner/mock_web_midi_accessor.h
diff --git a/components/test_runner/mock_web_midi_accessor.h b/components/test_runner/mock_web_midi_accessor.h
index 8728291e84032ae3b0684ca38c90bdc464008d30..150ea54d2df4bbf6edc0c7d3af9f13fe105287d9 100644
--- a/components/test_runner/mock_web_midi_accessor.h
+++ b/components/test_runner/mock_web_midi_accessor.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
+#include "media/midi/midi_service.mojom.h"
#include "third_party/WebKit/public/platform/modules/webmidi/WebMIDIAccessor.h"
namespace blink {
@@ -33,7 +34,7 @@ class MockWebMIDIAccessor : public blink::WebMIDIAccessor {
double timestamp) override;
private:
- void ReportStartedSession(bool success);
+ void ReportStartedSession(midi::mojom::Result result);
blink::WebMIDIAccessorClient* client_;
TestInterfaces* interfaces_;

Powered by Google App Engine
This is Rietveld 408576698