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

Side by Side Diff: content/renderer/media/webrtc/video_destination_handler.h

Issue 670683003: Standardize usage of virtual/override/final in content/renderer/ (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 (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 CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 public: 50 public:
51 PpFrameWriter(); 51 PpFrameWriter();
52 virtual ~PpFrameWriter(); 52 virtual ~PpFrameWriter();
53 53
54 // Returns a callback that can be used for delivering frames to this 54 // Returns a callback that can be used for delivering frames to this
55 // MediaStreamSource implementation. 55 // MediaStreamSource implementation.
56 VideoDestinationHandler::FrameWriterCallback GetFrameWriterCallback(); 56 VideoDestinationHandler::FrameWriterCallback GetFrameWriterCallback();
57 57
58 protected: 58 protected:
59 // MediaStreamVideoSource implementation. 59 // MediaStreamVideoSource implementation.
60 virtual void GetCurrentSupportedFormats( 60 void GetCurrentSupportedFormats(
61 int max_requested_width, 61 int max_requested_width,
62 int max_requested_height, 62 int max_requested_height,
63 double max_requested_frame_rate, 63 double max_requested_frame_rate,
64 const VideoCaptureDeviceFormatsCB& callback) override; 64 const VideoCaptureDeviceFormatsCB& callback) override;
65 virtual void StartSourceImpl( 65 void StartSourceImpl(
66 const media::VideoCaptureFormat& format, 66 const media::VideoCaptureFormat& format,
67 const VideoCaptureDeliverFrameCB& frame_callback) override; 67 const VideoCaptureDeliverFrameCB& frame_callback) override;
68 virtual void StopSourceImpl() override; 68 void StopSourceImpl() override;
69 69
70 private: 70 private:
71 class FrameWriterDelegate; 71 class FrameWriterDelegate;
72 scoped_refptr<FrameWriterDelegate> delegate_; 72 scoped_refptr<FrameWriterDelegate> delegate_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(PpFrameWriter); 74 DISALLOW_COPY_AND_ASSIGN(PpFrameWriter);
75 }; 75 };
76 76
77 } // namespace content 77 } // namespace content
78 78
79 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ 79 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698