Index: trunk/src/chrome/browser/history/history_service.cc |
=================================================================== |
--- trunk/src/chrome/browser/history/history_service.cc (revision 212472) |
+++ trunk/src/chrome/browser/history/history_service.cc (working copy) |
@@ -14,6 +14,10 @@ |
// -> SQLite connection to History |
// -> ArchivedDatabase |
// -> SQLite connection to Archived History |
+// -> TextDatabaseManager |
+// -> SQLite connection to one month's data |
+// -> SQLite connection to one month's data |
+// ... |
// -> ThumbnailDatabase |
// -> SQLite connection to Thumbnails |
// (and favicons) |
@@ -593,6 +597,16 @@ |
&HistoryBackend::AddPagesWithDetails, info, visit_source); |
} |
+void HistoryService::SetPageContents(const GURL& url, |
+ const string16& contents) { |
+ DCHECK(thread_checker_.CalledOnValidThread()); |
+ if (!CanAddURL(url)) |
+ return; |
+ |
+ ScheduleAndForget(PRIORITY_LOW, &HistoryBackend::SetPageContents, |
+ url, contents); |
+} |
+ |
HistoryService::Handle HistoryService::GetPageThumbnail( |
const GURL& page_url, |
CancelableRequestConsumerBase* consumer, |