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

Unified Diff: trunk/src/chrome/test/perf/generate_profile.cc

Issue 19637009: Revert 212459 "Remove TextDatabase from the history service." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 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
« no previous file with comments | « trunk/src/chrome/test/perf/generate_profile.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/test/perf/generate_profile.cc
===================================================================
--- trunk/src/chrome/test/perf/generate_profile.cc (revision 212472)
+++ trunk/src/chrome/test/perf/generate_profile.cc (working copy)
@@ -192,6 +192,8 @@
transition, history::SOURCE_BROWSED, true);
ThumbnailScore score(0.75, false, false);
history_service->SetPageTitle(url, ConstructRandomTitle());
+ if (types & FULL_TEXT)
+ history_service->SetPageContents(url, ConstructRandomPage());
if (types & TOP_SITES && top_sites) {
top_sites->SetPageThumbnailToJPEGBytes(
url,
« no previous file with comments | « trunk/src/chrome/test/perf/generate_profile.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698