Index: components/password_manager/content/browser/content_credential_manager_dispatcher.h |
diff --git a/components/password_manager/content/browser/content_credential_manager_dispatcher.h b/components/password_manager/content/browser/content_credential_manager_dispatcher.h |
index 5ed9df03bf61632f1a39fb6dda7e92e0f1768d18..97c2c8fc3cf7bd8135564ccd4ad039276ec81efc 100644 |
--- a/components/password_manager/content/browser/content_credential_manager_dispatcher.h |
+++ b/components/password_manager/content/browser/content_credential_manager_dispatcher.h |
@@ -61,6 +61,8 @@ class ContentCredentialManagerDispatcher : public CredentialManagerDispatcher, |
base::Callback<void(const autofill::PasswordForm&)>; |
private: |
+ struct PendingRequestParameters; |
+ |
PasswordStore* GetPasswordStore(); |
// Returns the driver for the current main frame. |
@@ -73,9 +75,9 @@ class ContentCredentialManagerDispatcher : public CredentialManagerDispatcher, |
scoped_ptr<CredentialManagerPasswordFormManager> form_manager_; |
// When 'OnRequestCredential' is called, it in turn calls out to the |
- // PasswordStore; we store the request ID here in order to properly respond |
- // to the request once the PasswordStore gives us data. |
- int pending_request_id_; |
+ // PasswordStore; we store request details here in order to properly |
+ // respond to the request once the PasswordStore gives us data. |
+ scoped_ptr<PendingRequestParameters> pending_request_; |
DISALLOW_COPY_AND_ASSIGN(ContentCredentialManagerDispatcher); |
}; |