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

Unified Diff: ash/test/test_shell_delegate.cc

Issue 683623002: Standardize usage of virtual/override/final specifiers. (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 | « ash/test/test_shell_delegate.h ('k') | ash/test/test_suite.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_shell_delegate.cc
diff --git a/ash/test/test_shell_delegate.cc b/ash/test/test_shell_delegate.cc
index d8f39d6446498febe346fe7455760279231a7bec..49c59a5d6689525fb68ec0da588da58a26fa2f76 100644
--- a/ash/test/test_shell_delegate.cc
+++ b/ash/test/test_shell_delegate.cc
@@ -38,18 +38,18 @@ namespace {
class NewWindowDelegateImpl : public NewWindowDelegate {
public:
NewWindowDelegateImpl() {}
- virtual ~NewWindowDelegateImpl() {}
+ ~NewWindowDelegateImpl() override {}
private:
// NewWindowDelegate:
- virtual void NewTab() override {}
- virtual void NewWindow(bool incognito) override {}
- virtual void OpenFileManager() override {}
- virtual void OpenCrosh() override {}
- virtual void RestoreTab() override {}
- virtual void ShowKeyboardOverlay() override {}
- virtual void ShowTaskManager() override {}
- virtual void OpenFeedbackPage() override {}
+ void NewTab() override {}
+ void NewWindow(bool incognito) override {}
+ void OpenFileManager() override {}
+ void OpenCrosh() override {}
+ void RestoreTab() override {}
+ void ShowKeyboardOverlay() override {}
+ void ShowTaskManager() override {}
+ void OpenFeedbackPage() override {}
DISALLOW_COPY_AND_ASSIGN(NewWindowDelegateImpl);
};
@@ -57,16 +57,16 @@ class NewWindowDelegateImpl : public NewWindowDelegate {
class MediaDelegateImpl : public MediaDelegate {
public:
MediaDelegateImpl() : state_(MEDIA_CAPTURE_NONE) {}
- virtual ~MediaDelegateImpl() {}
+ ~MediaDelegateImpl() override {}
void set_media_capture_state(MediaCaptureState state) { state_ = state; }
private:
// MediaDelegate:
- virtual void HandleMediaNextTrack() override {}
- virtual void HandleMediaPlayPause() override {}
- virtual void HandleMediaPrevTrack() override {}
- virtual MediaCaptureState GetMediaCaptureState(
+ void HandleMediaNextTrack() override {}
+ void HandleMediaPlayPause() override {}
+ void HandleMediaPrevTrack() override {}
+ MediaCaptureState GetMediaCaptureState(
content::BrowserContext* context) override {
return state_;
}
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | ash/test/test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698