diff options
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/autofill/password_autofill_manager.cc | 6 | ||||
-rw-r--r-- | chrome/renderer/autofill/password_autofill_manager_browsertest.cc | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/renderer/autofill/password_autofill_manager.cc b/chrome/renderer/autofill/password_autofill_manager.cc index 65dba44..dee68f4 100644 --- a/chrome/renderer/autofill/password_autofill_manager.cc +++ b/chrome/renderer/autofill/password_autofill_manager.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -361,10 +361,10 @@ void PasswordAutofillManager::SendPasswordForms(WebKit::WebFrame* frame, return; if (only_visible) { - Send(new AutofillHostMsg_PasswordFormsVisible( + Send(new AutofillHostMsg_PasswordFormsRendered( routing_id(), password_forms)); } else { - Send(new AutofillHostMsg_PasswordFormsFound(routing_id(), password_forms)); + Send(new AutofillHostMsg_PasswordFormsParsed(routing_id(), password_forms)); } } diff --git a/chrome/renderer/autofill/password_autofill_manager_browsertest.cc b/chrome/renderer/autofill/password_autofill_manager_browsertest.cc index b59bbda..7d1dea0 100644 --- a/chrome/renderer/autofill/password_autofill_manager_browsertest.cc +++ b/chrome/renderer/autofill/password_autofill_manager_browsertest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -183,11 +183,11 @@ TEST_F(PasswordAutofillManagerTest, InitialAutocomplete) { // The form has been loaded, we should have sent the browser a message about // the form. const IPC::Message* msg = render_thread_.sink().GetFirstMessageMatching( - AutofillHostMsg_PasswordFormsFound::ID); + AutofillHostMsg_PasswordFormsParsed::ID); ASSERT_TRUE(msg != NULL); Tuple1<std::vector<PasswordForm> > forms; - AutofillHostMsg_PasswordFormsFound::Read(msg, &forms); + AutofillHostMsg_PasswordFormsParsed::Read(msg, &forms); ASSERT_EQ(1U, forms.a.size()); PasswordForm password_form = forms.a[0]; EXPECT_EQ(PasswordForm::SCHEME_HTML, password_form.scheme); |