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

Side by Side Diff: media/midi/midi_manager_win.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 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « media/midi/midi_manager_win.h ('k') | media/midi/midi_message_queue.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_win.h" 5 #include "media/midi/midi_manager_win.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <ks.h> 8 #include <ks.h>
9 #include <ksmedia.h> 9 #include <ksmedia.h>
10 #include <mmreg.h> 10 #include <mmreg.h>
11 // Prevent unnecessary functions from being included from <mmsystem.h> 11 // Prevent unnecessary functions from being included from <mmsystem.h>
12 #define MMNODRV 12 #define MMNODRV
13 #define MMNOSOUND 13 #define MMNOSOUND
14 #define MMNOWAVE 14 #define MMNOWAVE
15 #define MMNOAUX 15 #define MMNOAUX
16 #define MMNOMIXER 16 #define MMNOMIXER
17 #define MMNOTIMER 17 #define MMNOTIMER
18 #define MMNOJOY 18 #define MMNOJOY
19 #define MMNOMCI 19 #define MMNOMCI
20 #define MMNOMMIO 20 #define MMNOMMIO
21 #include <mmsystem.h> 21 #include <mmsystem.h>
22 #include <stddef.h>
22 23
23 #include <algorithm> 24 #include <algorithm>
24 #include <functional> 25 #include <functional>
25 #include <queue> 26 #include <queue>
26 #include <string> 27 #include <string>
27 28
28 #include "base/bind.h" 29 #include "base/bind.h"
29 #include "base/containers/hash_tables.h" 30 #include "base/containers/hash_tables.h"
30 #include "base/macros.h" 31 #include "base/macros.h"
31 #include "base/message_loop/message_loop.h" 32 #include "base/message_loop/message_loop.h"
(...skipping 1151 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 base::TimeTicks time) { 1184 base::TimeTicks time) {
1184 ReceiveMidiData(port_index, &data[0], data.size(), time); 1185 ReceiveMidiData(port_index, &data[0], data.size(), time);
1185 } 1186 }
1186 1187
1187 MidiManager* MidiManager::Create() { 1188 MidiManager* MidiManager::Create() {
1188 return new MidiManagerWin(); 1189 return new MidiManagerWin();
1189 } 1190 }
1190 1191
1191 } // namespace midi 1192 } // namespace midi
1192 } // namespace media 1193 } // namespace media
OLDNEW
« no previous file with comments | « media/midi/midi_manager_win.h ('k') | media/midi/midi_message_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698