| 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/usb_midi_output_stream.h" | 5 #include "media/midi/usb_midi_output_stream.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include <string> | 10 #include <string> |
| 8 #include <vector> | 11 #include <vector> |
| 9 | 12 |
| 13 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
| 12 #include "media/midi/usb_midi_device.h" | 16 #include "media/midi/usb_midi_device.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 14 | 18 |
| 15 namespace media { | 19 namespace media { |
| 16 namespace midi { | 20 namespace midi { |
| 17 | 21 |
| 18 namespace { | 22 namespace { |
| 19 | 23 |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 EXPECT_EQ("0x24 0xf0 0x00 0x01 " | 321 EXPECT_EQ("0x24 0xf0 0x00 0x01 " |
| 318 "0x25 0xf8 0x00 0x00 " | 322 "0x25 0xf8 0x00 0x00 " |
| 319 "0x25 0xfa 0x00 0x00 " | 323 "0x25 0xfa 0x00 0x00 " |
| 320 "0x27 0x02 0x03 0xf7 (endpoint = 4)\n", device_.log()); | 324 "0x27 0x02 0x03 0xf7 (endpoint = 4)\n", device_.log()); |
| 321 } | 325 } |
| 322 | 326 |
| 323 } // namespace | 327 } // namespace |
| 324 | 328 |
| 325 } // namespace midi | 329 } // namespace midi |
| 326 } // namespace media | 330 } // namespace media |
| OLD | NEW |