| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_autofill_agent.h" | 5 #include "components/autofill/content/renderer/test_password_autofill_agent.h" |
| 6 | 6 |
| 7 namespace autofill { | 7 namespace autofill { |
| 8 | 8 |
| 9 TestPasswordAutofillAgent::TestPasswordAutofillAgent( | 9 TestPasswordAutofillAgent::TestPasswordAutofillAgent( |
| 10 content::RenderView* render_view) | 10 content::RenderFrame* render_frame) |
| 11 : PasswordAutofillAgent(render_view) {} | 11 : PasswordAutofillAgent(render_frame) { |
| 12 } |
| 12 | 13 |
| 13 TestPasswordAutofillAgent::~TestPasswordAutofillAgent() {} | 14 TestPasswordAutofillAgent::~TestPasswordAutofillAgent() {} |
| 14 | 15 |
| 15 bool TestPasswordAutofillAgent::OriginCanAccessPasswordManager( | 16 bool TestPasswordAutofillAgent::OriginCanAccessPasswordManager( |
| 16 const blink::WebSecurityOrigin& origin) { | 17 const blink::WebSecurityOrigin& origin) { |
| 17 return true; | 18 return true; |
| 18 } | 19 } |
| 19 | 20 |
| 20 } // namespace autofill | 21 } // namespace autofill |
| OLD | NEW |