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

Unified Diff: media/audio/audio_manager_base.cc

Issue 1769933002: Looking up device id by session id for AudioRendererMixerInput (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: media/audio/audio_manager_base.cc
diff --git a/media/audio/audio_manager_base.cc b/media/audio/audio_manager_base.cc
index 4f7e676d21aa3188bc42b682bc8f52b71a3388d8..e6f55c3959379bc245c97e091a4723f9354c914b 100644
--- a/media/audio/audio_manager_base.cc
+++ b/media/audio/audio_manager_base.cc
@@ -77,7 +77,8 @@ class AudioManagerBase::CompareByParams {
const DispatcherParams* dispatcher_;
};
-static bool IsDefaultDeviceId(const std::string& device_id) {
+// static
+bool AudioManagerBase::IsDefaultDeviceId(const std::string& device_id) {
Guido Urdaneta 2016/03/08 14:53:09 Change ARH to use this one instead of the identica
Henrik Grunell 2016/03/08 21:09:57 Move this so that the order of member functions is
o1ka 2016/04/05 15:13:38 Done.
o1ka 2016/04/05 15:13:38 Which order is broken?
return device_id.empty() || device_id == AudioManagerBase::kDefaultDeviceId;
}

Powered by Google App Engine
This is Rietveld 408576698