OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_ENCODER_HOST_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_ENCODER_HOST_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_ENCODER_HOST_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_ENCODER_HOST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_vector.h" | |
15 #include "base/numerics/safe_math.h" | 14 #include "base/numerics/safe_math.h" |
16 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
17 #include "ppapi/c/pp_codecs.h" | 16 #include "ppapi/c/pp_codecs.h" |
18 #include "ppapi/host/host_message_context.h" | 17 #include "ppapi/host/host_message_context.h" |
19 #include "ppapi/host/resource_host.h" | 18 #include "ppapi/host/resource_host.h" |
20 #include "ppapi/proxy/resource_message_params.h" | 19 #include "ppapi/proxy/resource_message_params.h" |
21 #include "ppapi/proxy/serialized_structs.h" | 20 #include "ppapi/proxy/serialized_structs.h" |
22 #include "ppapi/shared_impl/media_stream_buffer_manager.h" | 21 #include "ppapi/shared_impl/media_stream_buffer_manager.h" |
23 | 22 |
24 namespace content { | 23 namespace content { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 std::unique_ptr<AudioEncoderImpl> encoder_; | 104 std::unique_ptr<AudioEncoderImpl> encoder_; |
106 | 105 |
107 base::WeakPtrFactory<PepperAudioEncoderHost> weak_ptr_factory_; | 106 base::WeakPtrFactory<PepperAudioEncoderHost> weak_ptr_factory_; |
108 | 107 |
109 DISALLOW_COPY_AND_ASSIGN(PepperAudioEncoderHost); | 108 DISALLOW_COPY_AND_ASSIGN(PepperAudioEncoderHost); |
110 }; | 109 }; |
111 | 110 |
112 } // namespace content | 111 } // namespace content |
113 | 112 |
114 #endif // CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_ENCODER_HOST_H_ | 113 #endif // CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_ENCODER_HOST_H_ |
OLD | NEW |