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

Unified Diff: media/audio/audio_manager.cc

Issue 1892433002: Moving device description utils from AudioManager[Base] into AudioDeviceDescription; to be shared b… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another rebase Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/audio_manager.h ('k') | media/audio/audio_manager_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_manager.cc
diff --git a/media/audio/audio_manager.cc b/media/audio/audio_manager.cc
index 188f668b557ec7d4b7e4711bbe1c42e783fd124c..fae54bfd166dcf263aaf1bcb158fb5254590c7db 100644
--- a/media/audio/audio_manager.cc
+++ b/media/audio/audio_manager.cc
@@ -21,7 +21,6 @@
#include "base/strings/stringprintf.h"
#include "build/build_config.h"
#include "media/audio/fake_audio_log_factory.h"
-#include "media/base/media_resources.h"
#include "media/base/media_switches.h"
#if defined(OS_WIN)
@@ -360,24 +359,4 @@ AudioManager* AudioManager::Get() {
return g_last_created;
}
-// static
-std::string AudioManager::GetDefaultDeviceName() {
-#if !defined(OS_IOS)
- return GetLocalizedStringUTF8(DEFAULT_AUDIO_DEVICE_NAME);
-#else
- NOTREACHED();
- return "";
-#endif
-}
-
-// static
-std::string AudioManager::GetCommunicationsDeviceName() {
-#if defined(OS_WIN)
- return GetLocalizedStringUTF8(COMMUNICATIONS_AUDIO_DEVICE_NAME);
-#else
- NOTREACHED();
- return "";
-#endif
-}
-
} // namespace media
« no previous file with comments | « media/audio/audio_manager.h ('k') | media/audio/audio_manager_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698