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

Unified Diff: media/midi/midi_manager_usb_unittest.cc

Issue 662853003: Manage MIDI related objects and sessions' lifecycles correctly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one line bug fix 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 | « media/midi/midi_manager_unittest.cc ('k') | media/midi/midi_result.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_manager_usb_unittest.cc
diff --git a/media/midi/midi_manager_usb_unittest.cc b/media/midi/midi_manager_usb_unittest.cc
index b4f939f35aa0a6221f12c3bc171f369ac2cec2d1..1eeae9e0121360ee690f4bf8353a763ee62962ec 100644
--- a/media/midi/midi_manager_usb_unittest.cc
+++ b/media/midi/midi_manager_usb_unittest.cc
@@ -78,7 +78,7 @@ class FakeMidiManagerClient : public MidiManagerClient {
logger_(logger) {}
~FakeMidiManagerClient() override {}
- void CompleteStartSession(int client_id, MidiResult result) override {
+ void CompleteStartSession(MidiResult result) override {
complete_start_session_ = true;
result_ = result;
}
@@ -159,7 +159,7 @@ class MidiManagerUsbTest : public ::testing::Test {
protected:
void Initialize() {
client_.reset(new FakeMidiManagerClient(&logger_));
- manager_->StartSession(client_.get(), 0);
+ manager_->StartSession(client_.get());
}
void Finalize() {
« no previous file with comments | « media/midi/midi_manager_unittest.cc ('k') | media/midi/midi_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698