Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: ppapi/proxy/media_stream_track_resource_base.h

Issue 630883002: replace OVERRIDE and FINAL with override and final in ppapi/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 PPAPI_PROXY_MEDIA_STREAM_TRACK_RESOURCE_BASE_H_ 5 #ifndef PPAPI_PROXY_MEDIA_STREAM_TRACK_RESOURCE_BASE_H_
6 #define PPAPI_PROXY_MEDIA_STREAM_TRACK_RESOURCE_BASE_H_ 6 #define PPAPI_PROXY_MEDIA_STREAM_TRACK_RESOURCE_BASE_H_
7 7
8 #include "ppapi/proxy/plugin_resource.h" 8 #include "ppapi/proxy/plugin_resource.h"
9 #include "ppapi/proxy/ppapi_proxy_export.h" 9 #include "ppapi/proxy/ppapi_proxy_export.h"
10 #include "ppapi/shared_impl/media_stream_buffer_manager.h" 10 #include "ppapi/shared_impl/media_stream_buffer_manager.h"
(...skipping 25 matching lines...) Expand all
36 void CloseInternal(); 36 void CloseInternal();
37 37
38 // Sends a buffer index to the corresponding PepperMediaStreamTrackHostBase 38 // Sends a buffer index to the corresponding PepperMediaStreamTrackHostBase
39 // via an IPC message. The host adds the buffer index into its 39 // via an IPC message. The host adds the buffer index into its
40 // |buffer_manager_| for reading or writing. 40 // |buffer_manager_| for reading or writing.
41 // Also see |MediaStreamBufferManager|. 41 // Also see |MediaStreamBufferManager|.
42 void SendEnqueueBufferMessageToHost(int32_t index); 42 void SendEnqueueBufferMessageToHost(int32_t index);
43 43
44 // PluginResource overrides: 44 // PluginResource overrides:
45 virtual void OnReplyReceived(const ResourceMessageReplyParams& params, 45 virtual void OnReplyReceived(const ResourceMessageReplyParams& params,
46 const IPC::Message& msg) OVERRIDE; 46 const IPC::Message& msg) override;
47 47
48 private: 48 private:
49 // Message handlers: 49 // Message handlers:
50 void OnPluginMsgInitBuffers(const ResourceMessageReplyParams& params, 50 void OnPluginMsgInitBuffers(const ResourceMessageReplyParams& params,
51 int32_t number_of_buffers, 51 int32_t number_of_buffers,
52 int32_t buffer_size, 52 int32_t buffer_size,
53 bool readonly); 53 bool readonly);
54 void OnPluginMsgEnqueueBuffer(const ResourceMessageReplyParams& params, 54 void OnPluginMsgEnqueueBuffer(const ResourceMessageReplyParams& params,
55 int32_t index); 55 int32_t index);
56 void OnPluginMsgEnqueueBuffers(const ResourceMessageReplyParams& params, 56 void OnPluginMsgEnqueueBuffers(const ResourceMessageReplyParams& params,
57 const std::vector<int32_t>& indices); 57 const std::vector<int32_t>& indices);
58 58
59 MediaStreamBufferManager buffer_manager_; 59 MediaStreamBufferManager buffer_manager_;
60 60
61 std::string id_; 61 std::string id_;
62 62
63 bool has_ended_; 63 bool has_ended_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(MediaStreamTrackResourceBase); 65 DISALLOW_COPY_AND_ASSIGN(MediaStreamTrackResourceBase);
66 }; 66 };
67 67
68 } // namespace proxy 68 } // namespace proxy
69 } // namespace ppapi 69 } // namespace ppapi
70 70
71 #endif // PPAPI_PROXY_MEDIA_STREAM_TRACK_RESOURCE_BASE_H_ 71 #endif // PPAPI_PROXY_MEDIA_STREAM_TRACK_RESOURCE_BASE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/media_stream_audio_track_resource.h ('k') | ppapi/proxy/media_stream_video_track_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698