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

Unified Diff: remoting/client/jni/jni_frame_consumer.h

Issue 905463005: Update {virtual,override,final} to follow C++11 style in remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/jni/chromoting_jni_instance.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/jni_frame_consumer.h
diff --git a/remoting/client/jni/jni_frame_consumer.h b/remoting/client/jni/jni_frame_consumer.h
index 3368a98ff9210e6486f5137a38f8a7c691fcd555..e69501cfa0d0792145180117f499da918863e51c 100644
--- a/remoting/client/jni/jni_frame_consumer.h
+++ b/remoting/client/jni/jni_frame_consumer.h
@@ -34,21 +34,21 @@ class JniFrameConsumer : public FrameConsumer {
explicit JniFrameConsumer(ChromotingJniRuntime* jni_runtime,
scoped_refptr<ChromotingJniInstance> jni_instance);
- virtual ~JniFrameConsumer();
+ ~JniFrameConsumer() override;
// This must be called once before the producer's source size is set.
void set_frame_producer(FrameProducer* producer);
// FrameConsumer implementation.
- virtual void ApplyBuffer(const webrtc::DesktopSize& view_size,
- const webrtc::DesktopRect& clip_area,
- webrtc::DesktopFrame* buffer,
- const webrtc::DesktopRegion& region,
- const webrtc::DesktopRegion& shape) override;
- virtual void ReturnBuffer(webrtc::DesktopFrame* buffer) override;
- virtual void SetSourceSize(const webrtc::DesktopSize& source_size,
- const webrtc::DesktopVector& dpi) override;
- virtual PixelFormat GetPixelFormat() override;
+ void ApplyBuffer(const webrtc::DesktopSize& view_size,
+ const webrtc::DesktopRect& clip_area,
+ webrtc::DesktopFrame* buffer,
+ const webrtc::DesktopRegion& region,
+ const webrtc::DesktopRegion& shape) override;
+ void ReturnBuffer(webrtc::DesktopFrame* buffer) override;
+ void SetSourceSize(const webrtc::DesktopSize& source_size,
+ const webrtc::DesktopVector& dpi) override;
+ PixelFormat GetPixelFormat() override;
private:
// Allocates a new buffer of |source_size|, informs Java about it, and tells
« no previous file with comments | « remoting/client/jni/chromoting_jni_instance.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698