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

Side by Side Diff: ppapi/proxy/video_source_resource.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
« no previous file with comments | « ppapi/proxy/video_frame_resource.h ('k') | ppapi/proxy/websocket_resource.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_VIDEO_SOURCE_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_VIDEO_SOURCE_RESOURCE_H_
6 #define PPAPI_PROXY_VIDEO_SOURCE_RESOURCE_H_ 6 #define PPAPI_PROXY_VIDEO_SOURCE_RESOURCE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/pp_time.h" 10 #include "ppapi/c/pp_time.h"
(...skipping 15 matching lines...) Expand all
26 class PPAPI_PROXY_EXPORT VideoSourceResource 26 class PPAPI_PROXY_EXPORT VideoSourceResource
27 : public PluginResource, 27 : public PluginResource,
28 public thunk::PPB_VideoSource_Private_API { 28 public thunk::PPB_VideoSource_Private_API {
29 public: 29 public:
30 VideoSourceResource(Connection connection, 30 VideoSourceResource(Connection connection,
31 PP_Instance instance); 31 PP_Instance instance);
32 virtual ~VideoSourceResource(); 32 virtual ~VideoSourceResource();
33 33
34 // Resource overrides. 34 // Resource overrides.
35 virtual thunk::PPB_VideoSource_Private_API* 35 virtual thunk::PPB_VideoSource_Private_API*
36 AsPPB_VideoSource_Private_API() OVERRIDE; 36 AsPPB_VideoSource_Private_API() override;
37 37
38 // PPB_VideoSource_Private_API implementation. 38 // PPB_VideoSource_Private_API implementation.
39 virtual int32_t Open( 39 virtual int32_t Open(
40 const PP_Var& stream_url, 40 const PP_Var& stream_url,
41 scoped_refptr<TrackedCallback> callback) OVERRIDE; 41 scoped_refptr<TrackedCallback> callback) override;
42 virtual int32_t GetFrame( 42 virtual int32_t GetFrame(
43 PP_VideoFrame_Private* frame, 43 PP_VideoFrame_Private* frame,
44 scoped_refptr<TrackedCallback> callback) OVERRIDE; 44 scoped_refptr<TrackedCallback> callback) override;
45 virtual void Close() OVERRIDE; 45 virtual void Close() override;
46 46
47 private: 47 private:
48 void OnPluginMsgOpenComplete( 48 void OnPluginMsgOpenComplete(
49 const ResourceMessageReplyParams& reply_params); 49 const ResourceMessageReplyParams& reply_params);
50 void OnPluginMsgGetFrameComplete( 50 void OnPluginMsgGetFrameComplete(
51 PP_VideoFrame_Private* frame, 51 PP_VideoFrame_Private* frame,
52 const ResourceMessageReplyParams& reply_params, 52 const ResourceMessageReplyParams& reply_params,
53 const HostResource& image_data, 53 const HostResource& image_data,
54 const PP_ImageDataDesc& image_desc_data, 54 const PP_ImageDataDesc& image_desc_data,
55 PP_TimeTicks timestamp); 55 PP_TimeTicks timestamp);
56 56
57 scoped_refptr<TrackedCallback> open_callback_; 57 scoped_refptr<TrackedCallback> open_callback_;
58 scoped_refptr<TrackedCallback> get_frame_callback_; 58 scoped_refptr<TrackedCallback> get_frame_callback_;
59 bool is_open_; 59 bool is_open_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(VideoSourceResource); 61 DISALLOW_COPY_AND_ASSIGN(VideoSourceResource);
62 }; 62 };
63 63
64 } // namespace proxy 64 } // namespace proxy
65 } // namespace ppapi 65 } // namespace ppapi
66 66
67 #endif // PPAPI_PROXY_VIDEO_SOURCE_RESOURCE_H_ 67 #endif // PPAPI_PROXY_VIDEO_SOURCE_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/video_frame_resource.h ('k') | ppapi/proxy/websocket_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698