diff options
author | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-15 18:06:39 +0000 |
---|---|---|
committer | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-15 18:06:39 +0000 |
commit | d4adc298c7b9a2883dcefeccd67dbb102afe7b2b (patch) | |
tree | d16433931684e1a5c3c90c05423be20fc31e521b /chrome/browser/automation/automation_provider.h | |
parent | 31e2c69eb9a9cf4e59f08b483f7cd849631e7da4 (diff) | |
download | chromium_src-d4adc298c7b9a2883dcefeccd67dbb102afe7b2b.zip chromium_src-d4adc298c7b9a2883dcefeccd67dbb102afe7b2b.tar.gz chromium_src-d4adc298c7b9a2883dcefeccd67dbb102afe7b2b.tar.bz2 |
Add automation hooks to get info about downloads.
Makes info about downloads available to pyauto.
Also add JSONInterfaceError to represent an error in the json ipc interace.
TEST=None
BUG=None
Review URL: http://codereview.chromium.org/1637008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.h')
-rw-r--r-- | chrome/browser/automation/automation_provider.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h index f3d03cb6..0c30ced 100644 --- a/chrome/browser/automation/automation_provider.h +++ b/chrome/browser/automation/automation_provider.h @@ -328,7 +328,13 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>, int64 id, bool* success); + // Get info about downloads. This includes only ones that have been + // registered by the history system. + // Uses the JSON interface for input/output. + void GetDownloadsInfo(DictionaryValue* args, IPC::Message* reply_message); + // Wait for all downloads to complete. + // Uses the JSON interface for input/output. void WaitForDownloadsToComplete( DictionaryValue* args, IPC::Message* reply_message); |