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::RenderView* render_view) |
11 : PasswordAutofillAgent(render_view) {} | 11 : PasswordAutofillAgent(render_view) {} |
12 | 12 |
13 TestPasswordAutofillAgent::~TestPasswordAutofillAgent() {} | 13 TestPasswordAutofillAgent::~TestPasswordAutofillAgent() {} |
14 | 14 |
15 bool TestPasswordAutofillAgent::OriginCanAccessPasswordManager( | 15 bool TestPasswordAutofillAgent::OriginCanAccessPasswordManager( |
16 const blink::WebSecurityOrigin& origin) { | 16 const blink::WebSecurityOrigin& origin) { |
17 return true; | 17 return true; |
18 } | 18 } |
19 | 19 |
| 20 void TestPasswordAutofillAgent::SendPasswordForms(blink::WebFrame* frame, |
| 21 bool only_visible) { |
| 22 PasswordAutofillAgent::SendPasswordForms(frame, only_visible); |
| 23 } |
| 24 |
| 25 bool TestPasswordAutofillAgent::OnMessageReceived(const IPC::Message& message) { |
| 26 return PasswordAutofillAgent::OnMessageReceived(message); |
| 27 } |
| 28 |
| 29 void TestPasswordAutofillAgent::WillSubmitForm( |
| 30 blink::WebLocalFrame* frame, |
| 31 const blink::WebFormElement& form) { |
| 32 PasswordAutofillAgent::WillSubmitForm(frame, form); |
| 33 } |
| 34 |
20 } // namespace autofill | 35 } // namespace autofill |
OLD | NEW |