Index: components/password_manager/content/browser/content_password_manager_driver.h |
diff --git a/components/password_manager/content/browser/content_password_manager_driver.h b/components/password_manager/content/browser/content_password_manager_driver.h |
index c6b64f6fb5bba37d27c80c2c46b9b17bf33ff4a1..3d454a6d5d6a38d488304bafe92dc20d0530957b 100644 |
--- a/components/password_manager/content/browser/content_password_manager_driver.h |
+++ b/components/password_manager/content/browser/content_password_manager_driver.h |
@@ -63,6 +63,12 @@ class ContentPasswordManagerDriver : public PasswordManagerDriver, |
PasswordGenerationManager password_generation_manager_; |
PasswordAutofillManager password_autofill_manager_; |
+ // Every instance of PasswordFormFillData created by |*this| and sent to |
+ // PasswordAutofillManager and PasswordAutofillAgent is given an ID, so that |
+ // the latter two classes can reference to the same instance without sending |
+ // it to each other over IPC. The counter below is used to generate new IDs. |
+ int next_free_key_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); |
}; |