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

Unified Diff: chrome/renderer/safe_browsing/phishing_classifier_delegate.h

Issue 663333002: Standardize usage of virtual/override/final in chrome/renderer/ (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 | « chrome/renderer/safe_browsing/malware_dom_details.h ('k') | chrome/renderer/searchbox/search_bouncer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/safe_browsing/phishing_classifier_delegate.h
diff --git a/chrome/renderer/safe_browsing/phishing_classifier_delegate.h b/chrome/renderer/safe_browsing/phishing_classifier_delegate.h
index 6a3396bb057944a91f064f008473d6e4f88a8f93..e399a484b61591d46681e8c2a5044e97c3e0ab4f 100644
--- a/chrome/renderer/safe_browsing/phishing_classifier_delegate.h
+++ b/chrome/renderer/safe_browsing/phishing_classifier_delegate.h
@@ -22,9 +22,9 @@ class Scorer;
class PhishingClassifierFilter : public content::RenderProcessObserver {
public:
static PhishingClassifierFilter* Create();
- virtual ~PhishingClassifierFilter();
+ ~PhishingClassifierFilter() override;
- virtual bool OnControlMessageReceived(const IPC::Message& message) override;
+ bool OnControlMessageReceived(const IPC::Message& message) override;
private:
PhishingClassifierFilter();
@@ -40,7 +40,7 @@ class PhishingClassifierDelegate : public content::RenderViewObserver {
// will be used.
static PhishingClassifierDelegate* Create(content::RenderView* render_view,
PhishingClassifier* classifier);
- virtual ~PhishingClassifierDelegate();
+ ~PhishingClassifierDelegate() override;
// Called by the RenderView once there is a phishing scorer available.
// The scorer is passed on to the classifier.
@@ -59,8 +59,8 @@ class PhishingClassifierDelegate : public content::RenderViewObserver {
// WebFrame. Typically, this will cause any pending classification to be
// cancelled. However, if the navigation is within the same page, we
// continue running the current classification.
- virtual void DidCommitProvisionalLoad(blink::WebLocalFrame* frame,
- bool is_new_navigation) override;
+ void DidCommitProvisionalLoad(blink::WebLocalFrame* frame,
+ bool is_new_navigation) override;
private:
friend class PhishingClassifierDelegateTest;
@@ -81,7 +81,7 @@ class PhishingClassifierDelegate : public content::RenderViewObserver {
void CancelPendingClassification(CancelClassificationReason reason);
// RenderViewObserver implementation.
- virtual bool OnMessageReceived(const IPC::Message& message) override;
+ bool OnMessageReceived(const IPC::Message& message) override;
// Called by the RenderView when it receives a StartPhishingDetection IPC
// from the browser. This signals that it is ok to begin classification
« no previous file with comments | « chrome/renderer/safe_browsing/malware_dom_details.h ('k') | chrome/renderer/searchbox/search_bouncer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698