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

Unified Diff: chrome/browser/ui/webui/identity_internals_ui.cc

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/webui/identity_internals_ui.cc
diff --git a/chrome/browser/ui/webui/identity_internals_ui.cc b/chrome/browser/ui/webui/identity_internals_ui.cc
index 80052257c2ea0a7d78e270f3587fe827c4df821d..c536177a1260372bc344e765763f7df6f309bf0a 100644
--- a/chrome/browser/ui/webui/identity_internals_ui.cc
+++ b/chrome/browser/ui/webui/identity_internals_ui.cc
@@ -46,7 +46,7 @@ class IdentityInternalsTokenRevoker;
class IdentityInternalsUIMessageHandler : public content::WebUIMessageHandler {
public:
IdentityInternalsUIMessageHandler();
- virtual ~IdentityInternalsUIMessageHandler();
+ ~IdentityInternalsUIMessageHandler() override;
// Ensures that a proper clean up happens after a token is revoked. That
// includes deleting the |token_revoker|, removing the token from Identity API
@@ -54,7 +54,7 @@ class IdentityInternalsUIMessageHandler : public content::WebUIMessageHandler {
void OnTokenRevokerDone(IdentityInternalsTokenRevoker* token_revoker);
// WebUIMessageHandler implementation.
- virtual void RegisterMessages() override;
+ void RegisterMessages() override;
private:
// Gets the name of an extension referred to by |token_cache_key| as a string.
@@ -110,7 +110,7 @@ class IdentityInternalsTokenRevoker : public GaiaAuthConsumer {
const std::string& access_token,
Profile* profile,
IdentityInternalsUIMessageHandler* consumer);
- virtual ~IdentityInternalsTokenRevoker();
+ ~IdentityInternalsTokenRevoker() override;
// Returns the access token being revoked.
const std::string& access_token() const { return access_token_; }
@@ -119,7 +119,7 @@ class IdentityInternalsTokenRevoker : public GaiaAuthConsumer {
const std::string& extension_id() const { return extension_id_; }
// GaiaAuthConsumer implementation.
- virtual void OnOAuth2RevokeTokenCompleted() override;
+ void OnOAuth2RevokeTokenCompleted() override;
private:
// An object used to start a token revoke request.

Powered by Google App Engine
This is Rietveld 408576698