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

Side by Side Diff: content/renderer/media/audio_input_message_filter.cc

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 "content/renderer/media/audio_input_message_filter.h" 5 #include "content/renderer/media/audio_input_message_filter.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
9 #include "content/common/media/audio_messages.h" 9 #include "content/common/media/audio_messages.h"
10 #include "ipc/ipc_logging.h" 10 #include "ipc/ipc_logging.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 namespace { 14 namespace {
15 const int kStreamIDNotSet = -1; 15 const int kStreamIDNotSet = -1;
16 } 16 }
17 17
18 class AudioInputMessageFilter::AudioInputIPCImpl 18 class AudioInputMessageFilter::AudioInputIPCImpl
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 207
208 void AudioInputMessageFilter::AudioInputIPCImpl::CloseStream() { 208 void AudioInputMessageFilter::AudioInputIPCImpl::CloseStream() {
209 DCHECK(filter_->io_message_loop_->BelongsToCurrentThread()); 209 DCHECK(filter_->io_message_loop_->BelongsToCurrentThread());
210 DCHECK_NE(stream_id_, kStreamIDNotSet); 210 DCHECK_NE(stream_id_, kStreamIDNotSet);
211 filter_->Send(new AudioInputHostMsg_CloseStream(stream_id_)); 211 filter_->Send(new AudioInputHostMsg_CloseStream(stream_id_));
212 filter_->delegates_.Remove(stream_id_); 212 filter_->delegates_.Remove(stream_id_);
213 stream_id_ = kStreamIDNotSet; 213 stream_id_ = kStreamIDNotSet;
214 } 214 }
215 215
216 } // namespace content 216 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/gpu/input_event_filter.cc ('k') | content/renderer/media/audio_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698