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

Unified Diff: chrome/browser/ui/cocoa/media_picker/desktop_media_picker_bridge.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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/ui/cocoa/media_picker/desktop_media_picker_bridge.h
diff --git a/chrome/browser/ui/cocoa/media_picker/desktop_media_picker_bridge.h b/chrome/browser/ui/cocoa/media_picker/desktop_media_picker_bridge.h
index 5301abf034504882cc161e2feb6d70ae312c09c7..d8151aafba40a22ee4364910fd86dddff3656e30 100644
--- a/chrome/browser/ui/cocoa/media_picker/desktop_media_picker_bridge.h
+++ b/chrome/browser/ui/cocoa/media_picker/desktop_media_picker_bridge.h
@@ -23,14 +23,14 @@
class DesktopMediaPickerBridge : public DesktopMediaListObserver {
public:
DesktopMediaPickerBridge(id<DesktopMediaPickerObserver> observer);
- virtual ~DesktopMediaPickerBridge();
+ ~DesktopMediaPickerBridge() override;
// DesktopMediaListObserver overrides.
- virtual void OnSourceAdded(int index) override;
- virtual void OnSourceRemoved(int index) override;
- virtual void OnSourceMoved(int old_index, int new_index) override;
- virtual void OnSourceNameChanged(int index) override;
- virtual void OnSourceThumbnailChanged(int index) override;
+ void OnSourceAdded(int index) override;
+ void OnSourceRemoved(int index) override;
+ void OnSourceMoved(int old_index, int new_index) override;
+ void OnSourceNameChanged(int index) override;
+ void OnSourceThumbnailChanged(int index) override;
private:
id<DesktopMediaPickerObserver> observer_; // weak; owns this

Powered by Google App Engine
This is Rietveld 408576698