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

Unified Diff: content/shell/renderer/test_runner/mock_web_midi_accessor.cc

Issue 661323002: Web MIDI: use new Blink APIs to be free from depracated ones (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/renderer/media/midi_message_filter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/mock_web_midi_accessor.cc
diff --git a/content/shell/renderer/test_runner/mock_web_midi_accessor.cc b/content/shell/renderer/test_runner/mock_web_midi_accessor.cc
index c1300193965f6248964a178dde4daf53a7d3e3d7..32ebe622f48bf4dad4289fd77745c416fa21d813 100644
--- a/content/shell/renderer/test_runner/mock_web_midi_accessor.cc
+++ b/content/shell/renderer/test_runner/mock_web_midi_accessor.cc
@@ -49,11 +49,13 @@ void MockWebMIDIAccessor::startSession() {
client_->didAddInputPort("MockInputID",
"MockInputManufacturer",
"MockInputName",
- "MockInputVersion");
+ "MockInputVersion",
+ true);
tkent 2014/10/20 05:59:33 literal bool argument is not good for code readabi
Takashi Toyoshima 2014/10/20 06:41:29 Done.
client_->didAddOutputPort("MockOutputID",
"MockOutputManufacturer",
"MockOutputName",
- "MockOutputVersion");
+ "MockOutputVersion",
+ true);
interfaces_->GetDelegate()->PostTask(new DidStartSessionTask(
this, client_, interfaces_->GetTestRunner()->midiAccessorResult()));
}
« no previous file with comments | « content/renderer/media/midi_message_filter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698