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

Unified Diff: components/test_runner/mock_web_midi_accessor.h

Issue 2487113002: Web MIDI: fix a regression of r430234 (Closed)
Patch Set: cl format Created 4 years, 1 month 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 150ea54d2df4bbf6edc0c7d3af9f13fe105287d9..c3115738478a8c1c80342676a0520e58502a48d4 100644
--- a/components/test_runner/mock_web_midi_accessor.h
+++ b/components/test_runner/mock_web_midi_accessor.h
@@ -34,10 +34,14 @@ class MockWebMIDIAccessor : public blink::WebMIDIAccessor {
double timestamp) override;
private:
- void ReportStartedSession(midi::mojom::Result result);
+ void addInputPort(midi::mojom::PortState state);
+ void addOutputPort(midi::mojom::PortState state);
+ void reportStartedSession(midi::mojom::Result result);
blink::WebMIDIAccessorClient* client_;
TestInterfaces* interfaces_;
+ unsigned max_input_port_index_;
+ unsigned max_output_port_index_;
base::WeakPtrFactory<MockWebMIDIAccessor> weak_factory_;
« no previous file with comments | « no previous file | components/test_runner/mock_web_midi_accessor.cc » ('j') | components/test_runner/mock_web_midi_accessor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698