diff options
author | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-06 08:17:05 +0000 |
---|---|---|
committer | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-06 08:17:05 +0000 |
commit | f7d48015503c80e2f29df6a59b39a179649a6a5f (patch) | |
tree | 42e2bebe5b47cb7448c6ee6e4deffa6e2fbcf1c7 /chrome/browser/automation/automation_provider.h | |
parent | 03e32def91b569982af74094c51651924d38e70c (diff) | |
download | chromium_src-f7d48015503c80e2f29df6a59b39a179649a6a5f.zip chromium_src-f7d48015503c80e2f29df6a59b39a179649a6a5f.tar.gz chromium_src-f7d48015503c80e2f29df6a59b39a179649a6a5f.tar.bz2 |
Add hooks to fetch about:plugins info for PyAuto.
Also, hooks for to enable/disable a plugin.
Add a test which excercises them.
Review URL: http://codereview.chromium.org/1935003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46553 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.h')
-rw-r--r-- | chrome/browser/automation/automation_provider.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h index 518eb8b..83b52e6 100644 --- a/chrome/browser/automation/automation_provider.h +++ b/chrome/browser/automation/automation_provider.h @@ -353,6 +353,18 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>, // Uses the JSON interface for input/output. void GetPrefsInfo(DictionaryValue* args, IPC::Message* reply_message); + // Get info about plugins. + // Uses the JSON interface for input/output. + void GetPluginsInfo(DictionaryValue* args, IPC::Message* reply_message); + + // Enable a plugin. + // Uses the JSON interface for input/output. + void EnablePlugin(DictionaryValue* args, IPC::Message* reply_message); + + // Disable a plugin. + // Uses the JSON interface for input/output. + void DisablePlugin(DictionaryValue* args, IPC::Message* reply_message); + // Set prefs. // Uses the JSON interface for input/output. void SetPrefs(DictionaryValue* args, IPC::Message* reply_message); |