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

Unified Diff: chrome/browser/autofill/autofill_manager.h

Issue 9600038: Add Password Autofill Manager to New Autofill (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing up login password clearing Created 8 years, 9 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: chrome/browser/autofill/autofill_manager.h
diff --git a/chrome/browser/autofill/autofill_manager.h b/chrome/browser/autofill/autofill_manager.h
index f372819c80fa7aa2881564d4eda71610af4e8cdf..e1678b40d109e15aa7e80e456f2f173b51118f6f 100644
--- a/chrome/browser/autofill/autofill_manager.h
+++ b/chrome/browser/autofill/autofill_manager.h
@@ -51,6 +51,7 @@ namespace webkit {
namespace forms {
struct FormData;
struct FormField;
+struct PasswordFormFillData;
}
}
@@ -73,6 +74,9 @@ class AutofillManager : public content::WebContentsObserver,
external_delegate_ = delegate;
}
+ // Used to say if this class has an external delegate that it is using.
+ bool HasExternalDelegate();
+
// Called from our external delegate so they cannot be private.
virtual void OnFillAutofillFormData(int query_id,
const webkit::forms::FormData& form,
@@ -165,6 +169,9 @@ class AutofillManager : public content::WebContentsObserver,
bool display_warning);
void OnDidEndTextFieldEditing();
void OnHideAutofillPopup();
+ void OnAddPasswordFormMapping(
+ const webkit::forms::FormField& form,
+ const webkit::forms::PasswordFormFillData fill_data);
// Fills |host| with the RenderViewHost for this tab.
// Returns false if Autofill is disabled or if the host is unavailable.

Powered by Google App Engine
This is Rietveld 408576698