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

Unified Diff: components/password_manager/core/browser/password_manager.h

Issue 1286593003: [Password Manager] Store forms with field name and id attributes missing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/password_manager/core/browser/password_manager.h
diff --git a/components/password_manager/core/browser/password_manager.h b/components/password_manager/core/browser/password_manager.h
index a474d46860eacd5360c722a2014a33aced11de84..0bbdf1e9d9e1effa60ee419651fcd43d595fa793 100644
--- a/components/password_manager/core/browser/password_manager.h
+++ b/components/password_manager/core/browser/password_manager.h
@@ -120,6 +120,10 @@ class PasswordManager : public LoginModel {
PasswordManagerClient* client() { return client_; }
+ // Returns the |pending_login_managers_| count for this form. For non-password
+ // forms this count should be zero.
+ size_t PendingLoginManagersCount() { return pending_login_managers_.size(); }
vivekg 2015/08/14 04:35:16 nit: HasPendingLoginManagerForTesting -> bool
Pritam Nikam 2015/08/14 06:03:42 Done.
+
private:
enum ProvisionalSaveFailure {
SAVING_DISABLED,

Powered by Google App Engine
This is Rietveld 408576698