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

Side by Side Diff: media/audio/audio_input_device_unittest.cc

Issue 11048029: Allow Thread to initialize COM for Windows consumers who need it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
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 "base/environment.h" 5 #include "base/environment.h"
6 #include "base/logging.h"
6 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
7 #include "media/audio/audio_manager.h" 8 #include "media/audio/audio_manager.h"
8 #include "media/audio/audio_manager_base.h" 9 #include "media/audio/audio_manager_base.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 11
11 #if defined(OS_WIN) 12 #if defined(OS_WIN)
12 #include "base/win/scoped_com_initializer.h" 13 #include "base/win/scoped_com_initializer.h"
13 #include "media/audio/win/audio_manager_win.h" 14 #include "media/audio/win/audio_manager_win.h"
14 #include "media/audio/win/wavein_input_win.h" 15 #include "media/audio/win/wavein_input_win.h"
15 #endif 16 #endif
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // MMDevice-style device IDs should be converted to WaveIn-style device 190 // MMDevice-style device IDs should be converted to WaveIn-style device
190 // IDs. 191 // IDs.
191 EXPECT_NE(i->unique_id, converted_id); 192 EXPECT_NE(i->unique_id, converted_id);
192 } 193 }
193 } 194 }
194 } 195 }
195 196
196 #endif 197 #endif
197 198
198 } // namespace media 199 } // namespace media
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/media_stream_manager.cc ('k') | media/audio/audio_input_volume_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698