| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MEDIA_CAST_SENDER_AUDIO_ENCODER_H_ | 5 #ifndef MEDIA_CAST_SENDER_AUDIO_ENCODER_H_ |
| 6 #define MEDIA_CAST_SENDER_AUDIO_ENCODER_H_ | 6 #define MEDIA_CAST_SENDER_AUDIO_ENCODER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/threading/thread_checker.h" | 11 #include "base/threading/thread_checker.h" |
| 11 #include "media/base/audio_bus.h" | 12 #include "media/base/audio_bus.h" |
| 12 #include "media/cast/cast_environment.h" | 13 #include "media/cast/cast_environment.h" |
| 13 #include "media/cast/constants.h" | 14 #include "media/cast/constants.h" |
| 14 #include "media/cast/sender/sender_encoded_frame.h" | 15 #include "media/cast/sender/sender_encoded_frame.h" |
| 15 | 16 |
| 16 namespace base { | 17 namespace base { |
| 17 class TimeTicks; | 18 class TimeTicks; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 // Used to ensure only one thread invokes InsertAudio(). | 56 // Used to ensure only one thread invokes InsertAudio(). |
| 56 base::ThreadChecker insert_thread_checker_; | 57 base::ThreadChecker insert_thread_checker_; |
| 57 | 58 |
| 58 DISALLOW_COPY_AND_ASSIGN(AudioEncoder); | 59 DISALLOW_COPY_AND_ASSIGN(AudioEncoder); |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 } // namespace cast | 62 } // namespace cast |
| 62 } // namespace media | 63 } // namespace media |
| 63 | 64 |
| 64 #endif // MEDIA_CAST_SENDER_AUDIO_ENCODER_H_ | 65 #endif // MEDIA_CAST_SENDER_AUDIO_ENCODER_H_ |
| OLD | NEW |