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

Side by Side Diff: content/public/renderer/media_stream_video_sink.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_PUBLIC_RENDERER_MEDIA_STREAM_VIDEO_SINK_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_VIDEO_SINK_H_
6 #define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_VIDEO_SINK_H_ 6 #define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_VIDEO_SINK_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Calling RemoveFromVideoTrack also not stop frame delivery through the 56 // Calling RemoveFromVideoTrack also not stop frame delivery through the
57 // callback immediately because it may happen on another thread. 57 // callback immediately because it may happen on another thread.
58 // The added callback will be reset on the render thread. 58 // The added callback will be reset on the render thread.
59 static void AddToVideoTrack(MediaStreamVideoSink* sink, 59 static void AddToVideoTrack(MediaStreamVideoSink* sink,
60 const VideoCaptureDeliverFrameCB& callback, 60 const VideoCaptureDeliverFrameCB& callback,
61 const blink::WebMediaStreamTrack& track); 61 const blink::WebMediaStreamTrack& track);
62 static void RemoveFromVideoTrack(MediaStreamVideoSink* sink, 62 static void RemoveFromVideoTrack(MediaStreamVideoSink* sink,
63 const blink::WebMediaStreamTrack& track); 63 const blink::WebMediaStreamTrack& track);
64 64
65 protected: 65 protected:
66 virtual ~MediaStreamVideoSink() {} 66 ~MediaStreamVideoSink() override {}
67 }; 67 };
68 68
69 69
70 } // namespace content 70 } // namespace content
71 71
72 #endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_VIDEO_SINK_H_ 72 #endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_VIDEO_SINK_H_
OLDNEW
« no previous file with comments | « content/public/renderer/media_stream_audio_sink.h ('k') | content/public/renderer/render_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698