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

Side by Side Diff: media/midi/usb_midi_input_stream_unittest.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 years 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 unified diff | Download patch
« no previous file with comments | « media/midi/usb_midi_input_stream.h ('k') | media/midi/usb_midi_output_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_input_stream.h" 5 #include "media/midi/usb_midi_input_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 "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 using base::TimeTicks; 20 using base::TimeTicks;
17 21
18 namespace media { 22 namespace media {
19 namespace midi { 23 namespace midi {
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 uint8_t data[] = {0x4f, 0xf8, 0x00, 0x00}; 164 uint8_t data[] = {0x4f, 0xf8, 0x00, 0x00};
161 165
162 stream_->OnReceivedData(&device2_, 7, data, arraysize(data), TimeTicks()); 166 stream_->OnReceivedData(&device2_, 7, data, arraysize(data), TimeTicks());
163 EXPECT_EQ("0xf8 \n", delegate_.received_data()); 167 EXPECT_EQ("0xf8 \n", delegate_.received_data());
164 } 168 }
165 169
166 } // namespace 170 } // namespace
167 171
168 } // namespace midi 172 } // namespace midi
169 } // namespace media 173 } // namespace media
OLDNEW
« no previous file with comments | « media/midi/usb_midi_input_stream.h ('k') | media/midi/usb_midi_output_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698