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

Unified Diff: components/autofill/content/renderer/test_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/test_password_generation_agent.h
diff --git a/components/autofill/content/renderer/test_password_generation_agent.h b/components/autofill/content/renderer/test_password_generation_agent.h
index ffdaefdaffa2035eb2f9247db818c417136a91c0..633acf9453f682254c34989df9ddcba0eba14d28 100644
--- a/components/autofill/content/renderer/test_password_generation_agent.h
+++ b/components/autofill/content/renderer/test_password_generation_agent.h
@@ -16,11 +16,11 @@ namespace autofill {
class TestPasswordGenerationAgent : public PasswordGenerationAgent {
public:
explicit TestPasswordGenerationAgent(content::RenderView* render_view);
- virtual ~TestPasswordGenerationAgent();
+ ~TestPasswordGenerationAgent() override;
// content::RenderViewObserver implementation:
- virtual bool OnMessageReceived(const IPC::Message& message) override;
- virtual bool Send(IPC::Message* message) override;
+ bool OnMessageReceived(const IPC::Message& message) override;
+ bool Send(IPC::Message* message) override;
// Access messages that would have been sent to the browser.
const std::vector<IPC::Message*>& messages() const { return messages_.get(); }
@@ -30,8 +30,7 @@ class TestPasswordGenerationAgent : public PasswordGenerationAgent {
// PasswordGenreationAgent implementation:
// Always return true to allow loading of data URLs.
- virtual bool ShouldAnalyzeDocument(
- const blink::WebDocument& document) const override;
+ bool ShouldAnalyzeDocument(const blink::WebDocument& document) const override;
private:
ScopedVector<IPC::Message> messages_;
« no previous file with comments | « components/autofill/content/renderer/test_password_autofill_agent.h ('k') | components/autofill/core/browser/address.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698