diff options
author | alyssad@chromium.org <alyssad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 17:43:02 +0000 |
---|---|---|
committer | alyssad@chromium.org <alyssad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 17:43:02 +0000 |
commit | 9522228ea5ca6d44ebd8185f0a9606eb5a0576fe (patch) | |
tree | 7212cd2f1c556452dd563a6b57f24e9bbc7885ef /chrome/browser/automation/automation_provider.h | |
parent | 41297b9d97afdad09a6a3f301ad21a6fde3dedca (diff) | |
download | chromium_src-9522228ea5ca6d44ebd8185f0a9606eb5a0576fe.zip chromium_src-9522228ea5ca6d44ebd8185f0a9606eb5a0576fe.tar.gz chromium_src-9522228ea5ca6d44ebd8185f0a9606eb5a0576fe.tar.bz2 |
PyAuto hook to remove saved passwords, more info added to passwords. BUG=36179
Review URL: http://codereview.chromium.org/3054004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.h')
-rw-r--r-- | chrome/browser/automation/automation_provider.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h index 0bc30fcc..dbaeb1f 100644 --- a/chrome/browser/automation/automation_provider.h +++ b/chrome/browser/automation/automation_provider.h @@ -62,6 +62,10 @@ namespace gfx { class Point; } +namespace webkit_glue { +struct PasswordForm; +} + class AutomationProvider : public base::RefCounted<AutomationProvider>, public IPC::Channel::Listener, public IPC::Message::Sender { @@ -467,12 +471,21 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>, DictionaryValue* args, IPC::Message* reply_message); - // Add a new username-password combination to the saved passwords. + // Add a new entry to the password store based on the password information + // provided. This method can also be used to add a blacklisted site (which + // will never fill in the password). // Uses the JSON interface for input/output. void AddSavedPassword(Browser* browser, DictionaryValue* args, IPC::Message* reply_message); + // Removes the password matching the information provided. This method can + // also be used to remove a blacklisted site. + // Uses the JSON interface for input/output. + void RemoveSavedPassword(Browser* browser, + DictionaryValue* args, + IPC::Message* reply_message); + // Return the saved username/password combinations. // Uses the JSON interface for input/output. void GetSavedPasswords(Browser* browser, |