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

Unified Diff: chrome/browser/renderer_host/safe_browsing_resource_throttle.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/renderer_host/safe_browsing_resource_throttle.h
diff --git a/chrome/browser/renderer_host/safe_browsing_resource_throttle.h b/chrome/browser/renderer_host/safe_browsing_resource_throttle.h
index aa4a40027b042a44ba54ba2caf838c73b94096be..c11db662915de6f7f9db976c0f844349e774a01a 100644
--- a/chrome/browser/renderer_host/safe_browsing_resource_throttle.h
+++ b/chrome/browser/renderer_host/safe_browsing_resource_throttle.h
@@ -54,14 +54,14 @@ class SafeBrowsingResourceThrottle
SafeBrowsingService* safe_browsing);
// content::ResourceThrottle implementation (called on IO thread):
- virtual void WillStartRequest(bool* defer) override;
- virtual void WillRedirectRequest(const GURL& new_url, bool* defer) override;
- virtual const char* GetNameForLogging() const override;
+ void WillStartRequest(bool* defer) override;
+ void WillRedirectRequest(const GURL& new_url, bool* defer) override;
+ const char* GetNameForLogging() const override;
// SafeBrowsingDabaseManager::Client implementation (called on IO thread):
- virtual void OnCheckBrowseUrlResult(const GURL& url,
- SBThreatType result,
- const std::string& metadata) override;
+ void OnCheckBrowseUrlResult(const GURL& url,
+ SBThreatType result,
+ const std::string& metadata) override;
private:
// Describes what phase of the check a throttle is in.
@@ -78,7 +78,7 @@ class SafeBrowsingResourceThrottle
DEFERRED_REDIRECT,
};
- virtual ~SafeBrowsingResourceThrottle();
+ ~SafeBrowsingResourceThrottle() override;
// SafeBrowsingService::UrlCheckCallback implementation.
void OnBlockingPageComplete(bool proceed);

Powered by Google App Engine
This is Rietveld 408576698