summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authornirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-20 22:00:43 +0000
committernirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-20 22:00:43 +0000
commit58555ce035571ee7d8620dd3e57cc7bf1adfd9b2 (patch)
treeb59d9079f68dcce43947c6c13fb316c43b7adb57 /chrome/test
parentc98ae312b89e8ba2a0c998c85157dc478d32686d (diff)
downloadchromium_src-58555ce035571ee7d8620dd3e57cc7bf1adfd9b2.zip
chromium_src-58555ce035571ee7d8620dd3e57cc7bf1adfd9b2.tar.gz
chromium_src-58555ce035571ee7d8620dd3e57cc7bf1adfd9b2.tar.bz2
Add info about starred history items.
This is the last bit of info we needed from the chrome://history/ page ( the one I forgot to add in the last CL). With this, we can write tests combining history and bookmarks! Review URL: http://codereview.chromium.org/1618032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45086 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/pyautolib/history_info.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/test/pyautolib/history_info.py b/chrome/test/pyautolib/history_info.py
index ec7a732..7407f05 100644
--- a/chrome/test/pyautolib/history_info.py
+++ b/chrome/test/pyautolib/history_info.py
@@ -61,13 +61,15 @@ class HistoryInfo(object):
Example:
[ { u'snippet': u'',
- u'time': 1271465667,
+ u'starred': False,
+ u'time': 1271781612,
u'title': u'Google News',
u'url': u'http://news.google.com/'},
{ u'snippet': u'',
- u'time': 1271465667,
+ u'starred': True,
+ u'time': 1271781602,
u'title': u'Google',
- u'url': u'http://www.google.com/'}]}
+ u'url': u'http://www.google.com/'}]
The snippet attribute will be empty in most cases. If GetHistoryInfo() is
provided a non-empty search_text arg, the snippet attribute will contain the