Chromium Code Reviews| Index: ppapi/proxy/media_stream_audio_track_resource.h |
| diff --git a/ppapi/proxy/media_stream_audio_track_resource.h b/ppapi/proxy/media_stream_audio_track_resource.h |
| index 694ae227a1093eb432df5b7f5792d5ed5e2701ca..6cc5d436f50a848ed3db6281ea5f243a7fce40e1 100644 |
| --- a/ppapi/proxy/media_stream_audio_track_resource.h |
| +++ b/ppapi/proxy/media_stream_audio_track_resource.h |
| @@ -6,6 +6,7 @@ |
| #define PPAPI_PROXY_MEDIA_STREAM_AUDIO_TRACK_RESOURCE_H_ |
| #include <map> |
| +#include <string> |
|
Peng
2014/05/26 14:48:49
Is it necessary?
thembrown
2014/05/27 10:36:02
It's transitively included anyway. Just added it b
Peng
2014/05/27 14:35:49
I see.
|
| #include "base/memory/ref_counted.h" |
| #include "ppapi/proxy/media_stream_track_resource_base.h" |
| @@ -53,12 +54,17 @@ class PPAPI_PROXY_EXPORT MediaStreamAudioTrackResource |
| void ReleaseBuffers(); |
| + // IPC message handlers. |
| + void OnPluginMsgConfigureReply(const ResourceMessageReplyParams& params); |
| + |
| // Allocated buffer resources by |GetBuffer()|. |
| typedef std::map<PP_Resource, scoped_refptr<AudioBufferResource> > BufferMap; |
| BufferMap buffers_; |
| PP_Resource* get_buffer_output_; |
| + scoped_refptr<TrackedCallback> configure_callback_; |
| + |
| scoped_refptr<TrackedCallback> get_buffer_callback_; |
| DISALLOW_COPY_AND_ASSIGN(MediaStreamAudioTrackResource); |