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

Unified Diff: chrome/browser/chromeos/audio/audio_mixer_cras.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 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: chrome/browser/chromeos/audio/audio_mixer_cras.cc
diff --git a/chrome/browser/chromeos/audio/audio_mixer_cras.cc b/chrome/browser/chromeos/audio/audio_mixer_cras.cc
index 89de431846d70ca8bce2af524a6a8af5dfa11309..5e49dd81e6c5c332d621c9f645de7dfaa7c97c9e 100644
--- a/chrome/browser/chromeos/audio/audio_mixer_cras.cc
+++ b/chrome/browser/chromeos/audio/audio_mixer_cras.cc
@@ -44,7 +44,7 @@ AudioMixerCras::AudioMixerCras()
AudioMixerCras::~AudioMixerCras() {
if (!thread_.get())
return;
- DCHECK(MessageLoop::current() != thread_->message_loop());
+ DCHECK(base::MessageLoop::current() != thread_->message_loop());
base::ThreadRestrictions::ScopedAllowIO allow_io_for_thread_join;
thread_->Stop();
@@ -139,7 +139,7 @@ void AudioMixerCras::SetCaptureMuteLocked(bool locked) {
}
void AudioMixerCras::Connect() {
- DCHECK(MessageLoop::current() == thread_->message_loop());
+ DCHECK(base::MessageLoop::current() == thread_->message_loop());
// Create the client structure.
if (client_ == NULL && cras_client_create(&client_) < 0) {
@@ -159,7 +159,7 @@ void AudioMixerCras::Connect() {
}
void AudioMixerCras::ApplyState() {
- DCHECK(MessageLoop::current() == thread_->message_loop());
+ DCHECK(base::MessageLoop::current() == thread_->message_loop());
if (!client_connected_)
return;
« no previous file with comments | « chrome/browser/chromeos/audio/audio_mixer_alsa.cc ('k') | chrome/browser/chromeos/chrome_browser_main_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698