| Index: chrome/browser/ui/passwords/manage_passwords_state.h
|
| diff --git a/chrome/browser/ui/passwords/manage_passwords_state.h b/chrome/browser/ui/passwords/manage_passwords_state.h
|
| index beeda3c20b1d33238e95bd487884b524779954d1..9168731591a41a97efacd2989a95aba40a0b703e 100644
|
| --- a/chrome/browser/ui/passwords/manage_passwords_state.h
|
| +++ b/chrome/browser/ui/passwords/manage_passwords_state.h
|
| @@ -14,10 +14,13 @@
|
| #include "components/password_manager/core/common/password_manager_ui.h"
|
| #include "url/gurl.h"
|
|
|
| +namespace content {
|
| +class WebContents;
|
| +}
|
| +
|
| namespace password_manager {
|
| struct CredentialInfo;
|
| class PasswordFormManager;
|
| -class PasswordManagerClient;
|
| }
|
|
|
|
|
| @@ -31,9 +34,8 @@ class ManagePasswordsState {
|
| ManagePasswordsState();
|
| ~ManagePasswordsState();
|
|
|
| - // Set the client for logging.
|
| - void set_client(password_manager::PasswordManagerClient* client) {
|
| - client_ = client;
|
| + void set_web_content(content::WebContents* web_contents) {
|
| + web_contents_ = web_contents;
|
| }
|
|
|
| // The methods below discard the current state/data of the object and move it
|
| @@ -138,8 +140,8 @@ class ManagePasswordsState {
|
| // The current state of the password manager UI.
|
| password_manager::ui::State state_;
|
|
|
| - // The client used for logging.
|
| - password_manager::PasswordManagerClient* client_;
|
| + // Used to retrieve the client for logging.
|
| + content::WebContents* web_contents_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ManagePasswordsState);
|
| };
|
|
|