Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1007)

Unified Diff: chrome/browser/devtools/browser_list_tabcontents_provider.cc

Issue 23477033: Implementing URL prefix match for history thumbnail cache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Inlining; comment fixes. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/devtools/browser_list_tabcontents_provider.cc
diff --git a/chrome/browser/devtools/browser_list_tabcontents_provider.cc b/chrome/browser/devtools/browser_list_tabcontents_provider.cc
index 451ed845e4cd0c85d79ce5c99c043cec2e3f9639..1e43a493367bc87d7c4aa332ed9da65c1c5efa31 100644
--- a/chrome/browser/devtools/browser_list_tabcontents_provider.cc
+++ b/chrome/browser/devtools/browser_list_tabcontents_provider.cc
@@ -78,7 +78,7 @@ std::string BrowserListTabContentsProvider::GetPageThumbnailData(
if (!top_sites)
continue;
scoped_refptr<base::RefCountedMemory> data;
- if (top_sites->GetPageThumbnail(url, &data))
+ if (top_sites->GetPageThumbnail(url, false, &data))
return std::string(
reinterpret_cast<const char*>(data->front()), data->size());
}
« no previous file with comments | « no previous file | chrome/browser/history/expire_history_backend_unittest.cc » ('j') | chrome/browser/history/top_sites_cache.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698