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

Side by Side Diff: media/audio/win/audio_output_win_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/audio/win/audio_manager_win.cc ('k') | media/audio/win/avrt_wrapper_win.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <windows.h> 5 #include <windows.h>
6 #include <mmsystem.h> 6 #include <mmsystem.h>
7 #include <stddef.h>
8 #include <stdint.h>
7 9
8 #include "base/base_paths.h" 10 #include "base/base_paths.h"
9 #include "base/memory/aligned_memory.h" 11 #include "base/memory/aligned_memory.h"
10 #include "base/sync_socket.h" 12 #include "base/sync_socket.h"
11 #include "base/win/scoped_com_initializer.h" 13 #include "base/win/scoped_com_initializer.h"
12 #include "base/win/windows_version.h" 14 #include "base/win/windows_version.h"
13 #include "media/base/limits.h"
14 #include "media/audio/audio_io.h" 15 #include "media/audio/audio_io.h"
15 #include "media/audio/audio_manager.h" 16 #include "media/audio/audio_manager.h"
16 #include "media/audio/audio_unittest_util.h" 17 #include "media/audio/audio_unittest_util.h"
17 #include "media/audio/mock_audio_source_callback.h" 18 #include "media/audio/mock_audio_source_callback.h"
18 #include "media/audio/simple_sources.h" 19 #include "media/audio/simple_sources.h"
20 #include "media/base/limits.h"
19 #include "testing/gmock/include/gmock/gmock.h" 21 #include "testing/gmock/include/gmock/gmock.h"
20 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
21 23
22 using ::testing::_; 24 using ::testing::_;
23 using ::testing::AnyNumber; 25 using ::testing::AnyNumber;
24 using ::testing::DoAll; 26 using ::testing::DoAll;
25 using ::testing::Field; 27 using ::testing::Field;
26 using ::testing::Invoke; 28 using ::testing::Invoke;
27 using ::testing::InSequence; 29 using ::testing::InSequence;
28 using ::testing::NiceMock; 30 using ::testing::NiceMock;
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 oas->Start(&source); 620 oas->Start(&source);
619 621
620 ::WaitForSingleObject(thread, INFINITE); 622 ::WaitForSingleObject(thread, INFINITE);
621 ::CloseHandle(thread); 623 ::CloseHandle(thread);
622 624
623 oas->Stop(); 625 oas->Stop();
624 oas->Close(); 626 oas->Close();
625 } 627 }
626 628
627 } // namespace media 629 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/win/audio_manager_win.cc ('k') | media/audio/win/avrt_wrapper_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698