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

Unified Diff: chrome/browser/shell_integration.h

Issue 648653003: Standardize usage of virtual/override/final in chrome/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: chrome/browser/shell_integration.h
diff --git a/chrome/browser/shell_integration.h b/chrome/browser/shell_integration.h
index 49060c1637b7647f60eedfa50c7130fc55a34294..d34d3a22597fc1a063a5a49d60195f05be3a9568 100644
--- a/chrome/browser/shell_integration.h
+++ b/chrome/browser/shell_integration.h
@@ -275,13 +275,13 @@ class ShellIntegration {
explicit DefaultBrowserWorker(DefaultWebClientObserver* observer);
private:
- virtual ~DefaultBrowserWorker() {}
+ ~DefaultBrowserWorker() override {}
// Check if Chrome is the default browser.
- virtual DefaultWebClientState CheckIsDefault() override;
+ DefaultWebClientState CheckIsDefault() override;
// Set Chrome as the default browser.
- virtual bool SetAsDefault(bool interactive_permitted) override;
+ bool SetAsDefault(bool interactive_permitted) override;
DISALLOW_COPY_AND_ASSIGN(DefaultBrowserWorker);
};
@@ -298,14 +298,14 @@ class ShellIntegration {
const std::string& protocol() const { return protocol_; }
protected:
- virtual ~DefaultProtocolClientWorker() {}
+ ~DefaultProtocolClientWorker() override {}
private:
// Check is Chrome is the default handler for this protocol.
- virtual DefaultWebClientState CheckIsDefault() override;
+ DefaultWebClientState CheckIsDefault() override;
// Set Chrome as the default handler for this protocol.
- virtual bool SetAsDefault(bool interactive_permitted) override;
+ bool SetAsDefault(bool interactive_permitted) override;
std::string protocol_;
« no previous file with comments | « chrome/browser/sessions/tab_restore_service_factory.h ('k') | chrome/browser/spellchecker/feedback_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698