diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-25 21:16:56 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-25 21:16:56 +0000 |
commit | 2e307237a1b46143a491e4478d323febb1895c3e (patch) | |
tree | 3d9a90c1ec35ab72beb25ba7527f8ac7dd05cd47 /chrome/renderer/safe_browsing | |
parent | 1a5492dff33222a8b36e30cc127f5bdda7f6888b (diff) | |
download | chromium_src-2e307237a1b46143a491e4478d323febb1895c3e.zip chromium_src-2e307237a1b46143a491e4478d323febb1895c3e.tar.gz chromium_src-2e307237a1b46143a491e4478d323febb1895c3e.tar.bz2 |
Add OVERRIDE annotation to safebrowsing classes.
BUG=none
TEST=trybots
Review URL: http://codereview.chromium.org/7495021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93951 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/safe_browsing')
3 files changed, 8 insertions, 8 deletions
diff --git a/chrome/renderer/safe_browsing/malware_dom_details.h b/chrome/renderer/safe_browsing/malware_dom_details.h index 5cb483a..6698aff 100644 --- a/chrome/renderer/safe_browsing/malware_dom_details.h +++ b/chrome/renderer/safe_browsing/malware_dom_details.h @@ -51,7 +51,7 @@ class MalwareDOMDetails : public RenderViewObserver { explicit MalwareDOMDetails(RenderView* render_view); // RenderViewObserver implementation. - virtual bool OnMessageReceived(const IPC::Message& message); + virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; void OnGetMalwareDOMDetails(); diff --git a/chrome/renderer/safe_browsing/phishing_classifier_delegate.h b/chrome/renderer/safe_browsing/phishing_classifier_delegate.h index 88b638d..77a0397 100644 --- a/chrome/renderer/safe_browsing/phishing_classifier_delegate.h +++ b/chrome/renderer/safe_browsing/phishing_classifier_delegate.h @@ -25,7 +25,7 @@ class PhishingClassifierFilter : public RenderProcessObserver { static PhishingClassifierFilter* Create(); virtual ~PhishingClassifierFilter(); - virtual bool OnControlMessageReceived(const IPC::Message& message); + virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE; private: PhishingClassifierFilter(); @@ -61,7 +61,7 @@ class PhishingClassifierDelegate : public RenderViewObserver { // cancelled. However, if the navigation is within the same page, we // continue running the current classification. virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, - bool is_new_navigation); + bool is_new_navigation) OVERRIDE; private: friend class PhishingClassifierDelegateTest; @@ -82,7 +82,7 @@ class PhishingClassifierDelegate : public RenderViewObserver { void CancelPendingClassification(CancelClassificationReason reason); // RenderViewObserver implementation. - virtual bool OnMessageReceived(const IPC::Message& message); + virtual 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 diff --git a/chrome/renderer/safe_browsing/render_view_fake_resources_test.h b/chrome/renderer/safe_browsing/render_view_fake_resources_test.h index ec4fd60..c3a9767 100644 --- a/chrome/renderer/safe_browsing/render_view_fake_resources_test.h +++ b/chrome/renderer/safe_browsing/render_view_fake_resources_test.h @@ -73,10 +73,10 @@ class RenderViewFakeResourcesTest : public ::testing::Test, public RenderViewVisitor { public: // IPC::Channel::Listener implementation. - virtual bool OnMessageReceived(const IPC::Message& message); + virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; // RenderViewVisitor implementation. - virtual bool Visit(RenderView* render_view); + virtual bool Visit(RenderView* render_view) OVERRIDE; protected: RenderViewFakeResourcesTest(); @@ -84,8 +84,8 @@ class RenderViewFakeResourcesTest : public ::testing::Test, // Call the base class SetUp and TearDown methods as part of your // test fixture's SetUp / TearDown. - virtual void SetUp(); - virtual void TearDown(); + virtual void SetUp() OVERRIDE; + virtual void TearDown() OVERRIDE; // Loads |url| into the RenderView, waiting for the load to finish. // Before loading the url, add any content that you want to return |