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

Side by Side Diff: components/autofill/content/renderer/test_password_autofill_agent.cc

Issue 563313004: [Password Manager] Unfriend PasswordAutofillAgentTest from PasswordAutofillAgent (clean-up). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unfriend PasswordAutofillAgentTest and RequestAutocompleteRendererTest from AutofillAgent. Created 6 years, 3 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 unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698