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

Unified Diff: chrome/browser/media/media_capture_devices_dispatcher.h

Issue 665323004: Standardize usage of virtual/override/final in chrome/browser/media (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: chrome/browser/media/media_capture_devices_dispatcher.h
diff --git a/chrome/browser/media/media_capture_devices_dispatcher.h b/chrome/browser/media/media_capture_devices_dispatcher.h
index ab8f43110c33b762fa01b66353cd9de31975fc77..fe1a9af75561330adf305ee6fb229a7495592eca 100644
--- a/chrome/browser/media/media_capture_devices_dispatcher.h
+++ b/chrome/browser/media/media_capture_devices_dispatcher.h
@@ -132,17 +132,16 @@ class MediaCaptureDevicesDispatcher : public content::MediaObserver,
void DisableDeviceEnumerationForTesting();
// Overridden from content::MediaObserver:
- virtual void OnAudioCaptureDevicesChanged() override;
- virtual void OnVideoCaptureDevicesChanged() override;
- virtual void OnMediaRequestStateChanged(
- int render_process_id,
- int render_frame_id,
- int page_request_id,
- const GURL& security_origin,
- content::MediaStreamType stream_type,
- content::MediaRequestState state) override;
- virtual void OnCreatingAudioStream(int render_process_id,
- int render_frame_id) override;
+ void OnAudioCaptureDevicesChanged() override;
+ void OnVideoCaptureDevicesChanged() override;
+ void OnMediaRequestStateChanged(int render_process_id,
+ int render_frame_id,
+ int page_request_id,
+ const GURL& security_origin,
+ content::MediaStreamType stream_type,
+ content::MediaRequestState state) override;
+ void OnCreatingAudioStream(int render_process_id,
+ int render_frame_id) override;
scoped_refptr<MediaStreamCaptureIndicator> GetMediaStreamCaptureIndicator();
@@ -171,12 +170,12 @@ class MediaCaptureDevicesDispatcher : public content::MediaObserver,
typedef std::map<content::WebContents*, RequestsQueue> RequestsQueues;
MediaCaptureDevicesDispatcher();
- virtual ~MediaCaptureDevicesDispatcher();
+ ~MediaCaptureDevicesDispatcher() override;
// content::NotificationObserver implementation.
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
// Helpers for ProcessMediaAccessRequest().
void ProcessDesktopCaptureAccessRequest(

Powered by Google App Engine
This is Rietveld 408576698