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

Unified Diff: remoting/host/linux/audio_pipe_reader.h

Issue 14314026: remoting: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: remoting/host/linux/audio_pipe_reader.h
diff --git a/remoting/host/linux/audio_pipe_reader.h b/remoting/host/linux/audio_pipe_reader.h
index a373ac3a4e0f4577f2685175a185bb5be0a5f4e4..700141314324e50e1e71eed6f7174ac550e31de6 100644
--- a/remoting/host/linux/audio_pipe_reader.h
+++ b/remoting/host/linux/audio_pipe_reader.h
@@ -23,9 +23,9 @@ struct AudioPipeReaderTraits;
// AudioPipeReader class reads from a named pipe to which an audio server (e.g.
// pulseaudio) writes the sound that's being played back and then sends data to
// all registered observers.
-class AudioPipeReader
- : public base::RefCountedThreadSafe<AudioPipeReader, AudioPipeReaderTraits>,
- public MessageLoopForIO::Watcher {
+class AudioPipeReader :
alexeypa (please no reviews) 2013/04/29 17:17:41 nit: the colon should go to the next line.
xhwang 2013/04/30 00:02:36 Done.
+ public base::RefCountedThreadSafe<AudioPipeReader, AudioPipeReaderTraits>,
+ public base::MessageLoopForIO::Watcher {
public:
class StreamObserver {
public:
@@ -77,7 +77,7 @@ class AudioPipeReader
// Bytes left from the previous read.
std::string left_over_bytes_;
- MessageLoopForIO::FileDescriptorWatcher file_descriptor_watcher_;
+ base::MessageLoopForIO::FileDescriptorWatcher file_descriptor_watcher_;
DISALLOW_COPY_AND_ASSIGN(AudioPipeReader);
};

Powered by Google App Engine
This is Rietveld 408576698