| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "media/midi/midi_manager_usb.h" | 5 #include "media/midi/midi_manager_usb.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include <string> | 10 #include <string> |
| 8 | 11 |
| 12 #include "base/macros.h" |
| 9 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
| 10 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
| 11 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
| 12 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 13 #include "media/midi/usb_midi_device.h" | 17 #include "media/midi/usb_midi_device.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 19 |
| 16 namespace media { | 20 namespace media { |
| 17 namespace midi { | 21 namespace midi { |
| 18 | 22 |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 EXPECT_EQ(3u, manager_->output_streams()[1]->jack().jack_id); | 565 EXPECT_EQ(3u, manager_->output_streams()[1]->jack().jack_id); |
| 562 ASSERT_EQ(1u, jacks.size()); | 566 ASSERT_EQ(1u, jacks.size()); |
| 563 EXPECT_EQ(2, jacks[0].endpoint_number()); | 567 EXPECT_EQ(2, jacks[0].endpoint_number()); |
| 564 EXPECT_EQ("UsbMidiDevice::GetDescriptors\n", logger_.TakeLog()); | 568 EXPECT_EQ("UsbMidiDevice::GetDescriptors\n", logger_.TakeLog()); |
| 565 } | 569 } |
| 566 | 570 |
| 567 } // namespace | 571 } // namespace |
| 568 | 572 |
| 569 } // namespace midi | 573 } // namespace midi |
| 570 } // namespace media | 574 } // namespace media |
| OLD | NEW |