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

Unified Diff: components/autofill/content/renderer/password_autofill_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_autofill_agent.h
diff --git a/components/autofill/content/renderer/password_autofill_agent.h b/components/autofill/content/renderer/password_autofill_agent.h
index fb557f6141c0993765a1d7a4006a34d82353c12f..df43c3d09476aa35bcd5e9af0eb4b7d8c87a7122 100644
--- a/components/autofill/content/renderer/password_autofill_agent.h
+++ b/components/autofill/content/renderer/password_autofill_agent.h
@@ -28,7 +28,7 @@ namespace autofill {
class PasswordAutofillAgent : public content::RenderViewObserver {
public:
explicit PasswordAutofillAgent(content::RenderView* render_view);
- virtual ~PasswordAutofillAgent();
+ ~PasswordAutofillAgent() override;
// WebViewClient editor related calls forwarded by the RenderView.
// If they return true, it indicates the event was consumed and should not
@@ -132,18 +132,18 @@ class PasswordAutofillAgent : public content::RenderViewObserver {
};
// RenderViewObserver:
- virtual bool OnMessageReceived(const IPC::Message& message) override;
- virtual void DidStartProvisionalLoad(blink::WebLocalFrame* frame) override;
- virtual void DidStartLoading() override;
- virtual void DidFinishDocumentLoad(blink::WebLocalFrame* frame) override;
- virtual void DidFinishLoad(blink::WebLocalFrame* frame) override;
- virtual void DidStopLoading() override;
- virtual void FrameDetached(blink::WebFrame* frame) override;
- virtual void FrameWillClose(blink::WebFrame* frame) override;
- virtual void WillSendSubmitEvent(blink::WebLocalFrame* frame,
- const blink::WebFormElement& form) override;
- virtual void WillSubmitForm(blink::WebLocalFrame* frame,
- const blink::WebFormElement& form) override;
+ bool OnMessageReceived(const IPC::Message& message) override;
+ void DidStartProvisionalLoad(blink::WebLocalFrame* frame) override;
+ void DidStartLoading() override;
+ void DidFinishDocumentLoad(blink::WebLocalFrame* frame) override;
+ void DidFinishLoad(blink::WebLocalFrame* frame) override;
+ void DidStopLoading() override;
+ void FrameDetached(blink::WebFrame* frame) override;
+ void FrameWillClose(blink::WebFrame* frame) override;
+ void WillSendSubmitEvent(blink::WebLocalFrame* frame,
+ const blink::WebFormElement& form) override;
+ void WillSubmitForm(blink::WebLocalFrame* frame,
+ const blink::WebFormElement& form) override;
// RenderView IPC handlers:
void OnFillPasswordForm(const PasswordFormFillData& form_data);

Powered by Google App Engine
This is Rietveld 408576698