OLD | NEW |
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 #ifndef REMOTING_HOST_LINUX_AUDIO_PIPE_READER_H_ | 5 #ifndef REMOTING_HOST_LINUX_AUDIO_PIPE_READER_H_ |
6 #define REMOTING_HOST_LINUX_AUDIO_PIPE_READER_H_ | 6 #define REMOTING_HOST_LINUX_AUDIO_PIPE_READER_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/ref_counted_memory.h" | 9 #include "base/memory/ref_counted_memory.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/observer_list_threadsafe.h" | 11 #include "base/observer_list_threadsafe.h" |
12 #include "base/time.h" | 12 #include "base/time/time.h" |
13 #include "base/timer.h" | 13 #include "base/timer/timer.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class FilePath; | 16 class FilePath; |
17 } | 17 } |
18 | 18 |
19 namespace remoting { | 19 namespace remoting { |
20 | 20 |
21 struct AudioPipeReaderTraits; | 21 struct AudioPipeReaderTraits; |
22 | 22 |
23 // AudioPipeReader class reads from a named pipe to which an audio server (e.g. | 23 // AudioPipeReader class reads from a named pipe to which an audio server (e.g. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 }; | 83 }; |
84 | 84 |
85 // Destroys |audio_pipe_reader| on the audio thread. | 85 // Destroys |audio_pipe_reader| on the audio thread. |
86 struct AudioPipeReaderTraits { | 86 struct AudioPipeReaderTraits { |
87 static void Destruct(const AudioPipeReader* audio_pipe_reader); | 87 static void Destruct(const AudioPipeReader* audio_pipe_reader); |
88 }; | 88 }; |
89 | 89 |
90 } // namespace remoting | 90 } // namespace remoting |
91 | 91 |
92 #endif // REMOTING_HOST_LINUX_AUDIO_PIPE_READER_H_ | 92 #endif // REMOTING_HOST_LINUX_AUDIO_PIPE_READER_H_ |
OLD | NEW |