| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/autofill/content/renderer/test_password_generation_agent.h" | 5 #include "components/autofill/content/renderer/test_password_generation_agent.h" |
| 6 | 6 |
| 7 namespace autofill { | 7 namespace autofill { |
| 8 | 8 |
| 9 TestPasswordGenerationAgent::TestPasswordGenerationAgent( | 9 TestPasswordGenerationAgent::TestPasswordGenerationAgent( |
| 10 content::RenderFrame* render_frame, PasswordAutofillAgent* password_agent) | 10 content::RenderFrame* render_frame, PasswordAutofillAgent* password_agent) |
| 11 : PasswordGenerationAgent(render_frame, password_agent) { | 11 : PasswordGenerationAgent(render_frame, password_agent) { |
| 12 // Always enable when testing. | 12 // Always enable when testing. |
| 13 set_enabled(true); | 13 set_enabled(true); |
| 14 } | 14 } |
| 15 | 15 |
| 16 TestPasswordGenerationAgent::~TestPasswordGenerationAgent() {} | 16 TestPasswordGenerationAgent::~TestPasswordGenerationAgent() {} |
| 17 | 17 |
| 18 bool TestPasswordGenerationAgent::ShouldAnalyzeDocument() const { | 18 bool TestPasswordGenerationAgent::ShouldAnalyzeDocument() { |
| 19 return true; | 19 return true; |
| 20 } | 20 } |
| 21 | 21 |
| 22 } // namespace autofill | 22 } // namespace autofill |
| OLD | NEW |