}
void ContentPasswordManagerDriver::AllowPasswordGenerationForForm(
- autofill::PasswordForm* form) {
+ const autofill::PasswordForm& form) {
content::RenderViewHost* host = web_contents()->GetRenderViewHost();
- host->Send(new AutofillMsg_FormNotBlacklisted(host->GetRoutingID(), *form));
+ host->Send(new AutofillMsg_FormNotBlacklisted(host->GetRoutingID(), form));
}
void ContentPasswordManagerDriver::AccountCreationFormsFound(
bool ContentPasswordManagerDriver::DidLastPageLoadEncounterSSLErrors() {
DCHECK(web_contents());
+ // TODO(vabr): This is a wrong entry to look at for HTTP basic auth,
+ // http://crbug.com/388246.
content::NavigationEntry* entry =
web_contents()->GetController().GetLastCommittedEntry();
if (!entry) {
- NOTREACHED();
return false;
}