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

Unified Diff: components/autofill/content/renderer/password_generation_agent.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (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: components/autofill/content/renderer/password_generation_agent.h
diff --git a/components/autofill/content/renderer/password_generation_agent.h b/components/autofill/content/renderer/password_generation_agent.h
index 4d38b5b3c27d60da54c5497749c0c96973bb9b17..97c5527130848387869fcfeaee3e6aa267443050 100644
--- a/components/autofill/content/renderer/password_generation_agent.h
+++ b/components/autofill/content/renderer/password_generation_agent.h
@@ -29,7 +29,7 @@ struct PasswordForm;
class PasswordGenerationAgent : public content::RenderViewObserver {
public:
explicit PasswordGenerationAgent(content::RenderView* render_view);
- virtual ~PasswordGenerationAgent();
+ ~PasswordGenerationAgent() override;
// Returns true if the field being changed is one where a generated password
// is being offered. Updates the state of the popup if necessary.
@@ -50,15 +50,15 @@ class PasswordGenerationAgent : public content::RenderViewObserver {
virtual bool ShouldAnalyzeDocument(const blink::WebDocument& document) const;
// RenderViewObserver:
- virtual bool OnMessageReceived(const IPC::Message& message) override;
+ bool OnMessageReceived(const IPC::Message& message) override;
// Use to force enable during testing.
void set_enabled(bool enabled) { enabled_ = enabled; }
private:
// RenderViewObserver:
- virtual void DidFinishDocumentLoad(blink::WebLocalFrame* frame) override;
- virtual void DidFinishLoad(blink::WebLocalFrame* frame) override;
+ void DidFinishDocumentLoad(blink::WebLocalFrame* frame) override;
+ void DidFinishLoad(blink::WebLocalFrame* frame) override;
// Message handlers.
void OnFormNotBlacklisted(const PasswordForm& form);

Powered by Google App Engine
This is Rietveld 408576698