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> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
12 #include "base/numerics/safe_math.h" | 14 #include "base/numerics/safe_math.h" |
13 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
14 #include "ppapi/c/pp_codecs.h" | 16 #include "ppapi/c/pp_codecs.h" |
15 #include "ppapi/host/host_message_context.h" | 17 #include "ppapi/host/host_message_context.h" |
16 #include "ppapi/host/resource_host.h" | 18 #include "ppapi/host/resource_host.h" |
17 #include "ppapi/proxy/resource_message_params.h" | 19 #include "ppapi/proxy/resource_message_params.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 scoped_ptr<AudioEncoderImpl> encoder_; | 103 scoped_ptr<AudioEncoderImpl> encoder_; |
102 | 104 |
103 base::WeakPtrFactory<PepperAudioEncoderHost> weak_ptr_factory_; | 105 base::WeakPtrFactory<PepperAudioEncoderHost> weak_ptr_factory_; |
104 | 106 |
105 DISALLOW_COPY_AND_ASSIGN(PepperAudioEncoderHost); | 107 DISALLOW_COPY_AND_ASSIGN(PepperAudioEncoderHost); |
106 }; | 108 }; |
107 | 109 |
108 } // namespace content | 110 } // namespace content |
109 | 111 |
110 #endif // CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_ENCODER_HOST_H_ | 112 #endif // CONTENT_RENDERER_PEPPER_PEPPER_AUDIO_ENCODER_HOST_H_ |
OLD | NEW |