From 58555ce035571ee7d8620dd3e57cc7bf1adfd9b2 Mon Sep 17 00:00:00 2001 From: "nirnimesh@chromium.org" Date: Tue, 20 Apr 2010 22:00:43 +0000 Subject: 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 --- chrome/test/pyautolib/history_info.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'chrome/test') 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 -- cgit v1.1