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

Unified Diff: remoting/host/cast_video_capturer_adapter.h

Issue 667123002: Standardize usage of virtual/override/final in remoting/ (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/cast_extension_session.cc ('k') | remoting/host/chromium_port_allocator_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/cast_video_capturer_adapter.h
diff --git a/remoting/host/cast_video_capturer_adapter.h b/remoting/host/cast_video_capturer_adapter.h
index fd3ab75a0ca92b759210fa45ca62b30be1e3dfd1..1a39a2e2b762737703155d8195079358482538ba 100644
--- a/remoting/host/cast_video_capturer_adapter.h
+++ b/remoting/host/cast_video_capturer_adapter.h
@@ -36,24 +36,24 @@ class CastVideoCapturerAdapter : public cricket::VideoCapturer,
explicit CastVideoCapturerAdapter(
scoped_ptr<webrtc::DesktopCapturer> capturer);
- virtual ~CastVideoCapturerAdapter();
+ ~CastVideoCapturerAdapter() override;
// webrtc::DesktopCapturer::Callback implementation.
- virtual webrtc::SharedMemory* CreateSharedMemory(size_t size) override;
+ webrtc::SharedMemory* CreateSharedMemory(size_t size) override;
// Converts |frame| to a cricket::CapturedFrame and emits that via
// SignalFrameCaptured for the base::VideoCapturer implementation to process.
- virtual void OnCaptureCompleted(webrtc::DesktopFrame* frame) override;
+ void OnCaptureCompleted(webrtc::DesktopFrame* frame) override;
// cricket::VideoCapturer implementation.
- virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired,
- cricket::VideoFormat* best_format) override;
- virtual cricket::CaptureState Start(
+ bool GetBestCaptureFormat(const cricket::VideoFormat& desired,
+ cricket::VideoFormat* best_format) override;
+ cricket::CaptureState Start(
const cricket::VideoFormat& capture_format) override;
- virtual bool Pause(bool pause) override;
- virtual void Stop() override;
- virtual bool IsRunning() override;
- virtual bool IsScreencast() const override;
- virtual bool GetPreferredFourccs(std::vector<uint32>* fourccs) override;
+ bool Pause(bool pause) override;
+ void Stop() override;
+ bool IsRunning() override;
+ bool IsScreencast() const override;
+ bool GetPreferredFourccs(std::vector<uint32>* fourccs) override;
private:
// Kicks off the next frame capture using |desktop_capturer_|.
« no previous file with comments | « remoting/host/cast_extension_session.cc ('k') | remoting/host/chromium_port_allocator_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698