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

Unified Diff: content/browser/renderer_host/media/media_stream_dispatcher_host.h

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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
Index: content/browser/renderer_host/media/media_stream_dispatcher_host.h
diff --git a/content/browser/renderer_host/media/media_stream_dispatcher_host.h b/content/browser/renderer_host/media/media_stream_dispatcher_host.h
index 87c95d4feaf5254b4cdeebbac93f73ee92691e00..f35ae26e992f44139c594cb0053e0aab90e6b8e4 100644
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host.h
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host.h
@@ -33,34 +33,33 @@ class CONTENT_EXPORT MediaStreamDispatcherHost : public BrowserMessageFilter,
MediaStreamManager* media_stream_manager);
// MediaStreamRequester implementation.
- virtual void StreamGenerated(
- int render_frame_id,
- int page_request_id,
- const std::string& label,
- const StreamDeviceInfoArray& audio_devices,
- const StreamDeviceInfoArray& video_devices) override;
- virtual void StreamGenerationFailed(
+ void StreamGenerated(int render_frame_id,
+ int page_request_id,
+ const std::string& label,
+ const StreamDeviceInfoArray& audio_devices,
+ const StreamDeviceInfoArray& video_devices) override;
+ void StreamGenerationFailed(
int render_frame_id,
int page_request_id,
content::MediaStreamRequestResult result) override;
- virtual void DeviceStopped(int render_frame_id,
- const std::string& label,
- const StreamDeviceInfo& device) override;
- virtual void DevicesEnumerated(int render_frame_id,
- int page_request_id,
- const std::string& label,
- const StreamDeviceInfoArray& devices) override;
- virtual void DeviceOpened(int render_frame_id,
- int page_request_id,
- const std::string& label,
- const StreamDeviceInfo& video_device) override;
+ void DeviceStopped(int render_frame_id,
+ const std::string& label,
+ const StreamDeviceInfo& device) override;
+ void DevicesEnumerated(int render_frame_id,
+ int page_request_id,
+ const std::string& label,
+ const StreamDeviceInfoArray& devices) override;
+ void DeviceOpened(int render_frame_id,
+ int page_request_id,
+ const std::string& label,
+ const StreamDeviceInfo& video_device) override;
// BrowserMessageFilter implementation.
- virtual bool OnMessageReceived(const IPC::Message& message) override;
- virtual void OnChannelClosing() override;
+ bool OnMessageReceived(const IPC::Message& message) override;
+ void OnChannelClosing() override;
protected:
- virtual ~MediaStreamDispatcherHost();
+ ~MediaStreamDispatcherHost() override;
private:
friend class MockMediaStreamDispatcherHost;

Powered by Google App Engine
This is Rietveld 408576698