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

Unified Diff: remoting/host/token_validator_base.h

Issue 667123002: Standardize usage of virtual/override/final in remoting/ (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 | « remoting/host/single_window_input_injector_mac.cc ('k') | remoting/host/token_validator_factory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/token_validator_base.h
diff --git a/remoting/host/token_validator_base.h b/remoting/host/token_validator_base.h
index e67cb009c667df3cae9ed6e407099b087851bb81..b5c7d20ed5dea6fa52b4a0c85ef750e139cbf863 100644
--- a/remoting/host/token_validator_base.h
+++ b/remoting/host/token_validator_base.h
@@ -41,22 +41,21 @@ class TokenValidatorBase
const ThirdPartyAuthConfig& third_party_auth_config,
const std::string& token_scope,
scoped_refptr<net::URLRequestContextGetter> request_context_getter);
- virtual ~TokenValidatorBase();
+ ~TokenValidatorBase() override;
// TokenValidator interface.
- virtual void ValidateThirdPartyToken(
+ void ValidateThirdPartyToken(
const std::string& token,
- const base::Callback<void(
- const std::string& shared_secret)>& on_token_validated) override;
+ const base::Callback<void(const std::string& shared_secret)>&
+ on_token_validated) override;
- virtual const GURL& token_url() const override;
- virtual const std::string& token_scope() const override;
+ const GURL& token_url() const override;
+ const std::string& token_scope() const override;
// URLRequest::Delegate interface.
- virtual void OnResponseStarted(net::URLRequest* source) override;
- virtual void OnReadCompleted(net::URLRequest* source,
- int bytes_read) override;
- virtual void OnCertificateRequested(
+ void OnResponseStarted(net::URLRequest* source) override;
+ void OnReadCompleted(net::URLRequest* source, int bytes_read) override;
+ void OnCertificateRequested(
net::URLRequest* source,
net::SSLCertRequestInfo* cert_request_info) override;
« no previous file with comments | « remoting/host/single_window_input_injector_mac.cc ('k') | remoting/host/token_validator_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698