Qurey redirects when a thumbnail is set.
Update list of most visited URLs on an exponential timer, resetting when the history is cleared.
Review URL: http://codereview.chromium.org/155619
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20964 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 21ccbe1..38b7a3e 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -1889,7 +1889,8 @@
// Tell History about this thumbnail
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kThumbnailStore)) {
if (!profile()->IsOffTheRecord())
- profile()->GetThumbnailStore()->SetPageThumbnail(url, bitmap, score);
+ profile()->GetThumbnailStore()->SetPageThumbnail(url, bitmap,
+ score, true);
} else {
HistoryService* hs;
if (!profile()->IsOffTheRecord() &&