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

Unified Diff: chrome/browser/predictors/resource_prefetch_predictor.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/predictors/resource_prefetch_predictor.h
diff --git a/chrome/browser/predictors/resource_prefetch_predictor.h b/chrome/browser/predictors/resource_prefetch_predictor.h
index 7a1166e849238d18a2d970abc3391bb5506a580d..c6eb7157c458f932467670b46cdffb12150189f1 100644
--- a/chrome/browser/predictors/resource_prefetch_predictor.h
+++ b/chrome/browser/predictors/resource_prefetch_predictor.h
@@ -95,7 +95,7 @@ class ResourcePrefetchPredictor
ResourcePrefetchPredictor(const ResourcePrefetchPredictorConfig& config,
Profile* profile);
- virtual ~ResourcePrefetchPredictor();
+ ~ResourcePrefetchPredictor() override;
// Thread safe.
static bool ShouldRecordRequest(net::URLRequest* request,
@@ -184,12 +184,12 @@ class ResourcePrefetchPredictor
static bool IsCacheable(const net::URLRequest* request);
// content::NotificationObserver methods override.
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
// KeyedService methods override.
- virtual void Shutdown() override;
+ void Shutdown() override;
// Functions called on different network events pertaining to the loading of
// main frame resource or sub resources.

Powered by Google App Engine
This is Rietveld 408576698