OLD | NEW |
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 "media/audio/audio_manager.h" | 5 #include "media/audio/audio_manager.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
9 #include "base/command_line.h" | 11 #include "base/command_line.h" |
10 #include "base/debug/alias.h" | 12 #include "base/debug/alias.h" |
11 #include "base/debug/crash_logging.h" | 13 #include "base/debug/crash_logging.h" |
12 #include "base/debug/dump_without_crashing.h" | 14 #include "base/debug/dump_without_crashing.h" |
13 #include "base/lazy_instance.h" | 15 #include "base/lazy_instance.h" |
14 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/macros.h" |
15 #include "base/message_loop/message_loop.h" | 18 #include "base/message_loop/message_loop.h" |
16 #include "base/metrics/histogram_macros.h" | 19 #include "base/metrics/histogram_macros.h" |
17 #include "base/power_monitor/power_monitor.h" | 20 #include "base/power_monitor/power_monitor.h" |
18 #include "base/strings/stringprintf.h" | 21 #include "base/strings/stringprintf.h" |
19 #include "build/build_config.h" | 22 #include "build/build_config.h" |
20 #include "media/audio/audio_manager_factory.h" | 23 #include "media/audio/audio_manager_factory.h" |
21 #include "media/audio/fake_audio_log_factory.h" | 24 #include "media/audio/fake_audio_log_factory.h" |
22 #include "media/base/media_resources.h" | 25 #include "media/base/media_resources.h" |
23 #include "media/base/media_switches.h" | 26 #include "media/base/media_switches.h" |
24 | 27 |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 std::string AudioManager::GetCommunicationsDeviceName() { | 347 std::string AudioManager::GetCommunicationsDeviceName() { |
345 #if defined(OS_WIN) | 348 #if defined(OS_WIN) |
346 return GetLocalizedStringUTF8(COMMUNICATIONS_AUDIO_DEVICE_NAME); | 349 return GetLocalizedStringUTF8(COMMUNICATIONS_AUDIO_DEVICE_NAME); |
347 #else | 350 #else |
348 NOTREACHED(); | 351 NOTREACHED(); |
349 return ""; | 352 return ""; |
350 #endif | 353 #endif |
351 } | 354 } |
352 | 355 |
353 } // namespace media | 356 } // namespace media |
OLD | NEW |