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

Unified Diff: components/autofill/content/browser/content_autofill_driver.cc

Issue 184103016: Autofill: Refactoring to support fetching password after a username is selected (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actually fix compile failure. Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/content/browser/content_autofill_driver.cc
diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/components/autofill/content/browser/content_autofill_driver.cc
index 93e44550154d6cc659377e42b9ed2e2a96007155..62c64b272b24d2b173a21c3ae31db53dccd093d5 100644
--- a/components/autofill/content/browser/content_autofill_driver.cc
+++ b/components/autofill/content/browser/content_autofill_driver.cc
@@ -133,15 +133,6 @@ void ContentAutofillDriver::RendererShouldAcceptDataListSuggestion(
new AutofillMsg_AcceptDataListSuggestion(host->GetRoutingID(), value));
}
-void ContentAutofillDriver::RendererShouldAcceptPasswordAutofillSuggestion(
- const base::string16& username) {
- if (!RendererIsAvailable())
- return;
- content::RenderViewHost* host = web_contents()->GetRenderViewHost();
- host->Send(new AutofillMsg_AcceptPasswordAutofillSuggestion(
- host->GetRoutingID(), username));
-}
-
void ContentAutofillDriver::RendererShouldClearFilledForm() {
if (!RendererIsAvailable())
return;
@@ -199,12 +190,6 @@ bool ContentAutofillDriver::OnMessageReceived(const IPC::Message& message) {
IPC_MESSAGE_FORWARD(AutofillHostMsg_HidePopup,
autofill_manager_.get(),
AutofillManager::OnHidePopup)
- IPC_MESSAGE_FORWARD(AutofillHostMsg_AddPasswordFormMapping,
- autofill_manager_.get(),
- AutofillManager::OnAddPasswordFormMapping)
- IPC_MESSAGE_FORWARD(AutofillHostMsg_ShowPasswordSuggestions,
- autofill_manager_.get(),
- AutofillManager::OnShowPasswordSuggestions)
IPC_MESSAGE_FORWARD(AutofillHostMsg_SetDataList,
autofill_manager_.get(),
AutofillManager::OnSetDataList)

Powered by Google App Engine
This is Rietveld 408576698