diff options
author | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-07 17:27:29 +0000 |
---|---|---|
committer | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-07 17:27:29 +0000 |
commit | bbe6aa04e14d5c7d176f303c199e2bf85ea40de7 (patch) | |
tree | 860ebcf3339fc0446c17a94b78f358ccff11425e /chrome/browser/automation/automation_provider.h | |
parent | 99f0c0818d6e612e6581f38bd0d53edceae44863 (diff) | |
download | chromium_src-bbe6aa04e14d5c7d176f303c199e2bf85ea40de7.zip chromium_src-bbe6aa04e14d5c7d176f303c199e2bf85ea40de7.tar.gz chromium_src-bbe6aa04e14d5c7d176f303c199e2bf85ea40de7.tar.bz2 |
Add an AddHistoryItem() API to PyAuto with example use.
Change GetHistory time value from int to float to keep precision.
BUG=none
TEST=run pyautolib
Review URL: http://codereview.chromium.org/2036004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46704 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.h')
-rw-r--r-- | chrome/browser/automation/automation_provider.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h index 83b52e6..5662835 100644 --- a/chrome/browser/automation/automation_provider.h +++ b/chrome/browser/automation/automation_provider.h @@ -349,6 +349,10 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>, // Uses the JSON interface for input/output. void GetHistoryInfo(DictionaryValue* args, IPC::Message* reply_message); + // Add an item to the history service. + // Uses the JSON interface for input/output. + void AddHistoryItem(DictionaryValue* args, IPC::Message* reply_message); + // Get info about preferences. // Uses the JSON interface for input/output. void GetPrefsInfo(DictionaryValue* args, IPC::Message* reply_message); |