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

Unified Diff: components/history/core/browser/history_backend.cc

Issue 2040553002: Remove unused constant history::kThumbnailsFilename. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@zzzzsql_diagnostic_thumbnails
Patch Set: Created 4 years, 6 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: components/history/core/browser/history_backend.cc
diff --git a/components/history/core/browser/history_backend.cc b/components/history/core/browser/history_backend.cc
index 4b767f84164c03b15202c80d925d2b73b180f523..c29fd9e7a9a4e77a727a38a2a0f6c228ab75de4f 100644
--- a/components/history/core/browser/history_backend.cc
+++ b/components/history/core/browser/history_backend.cc
@@ -280,10 +280,6 @@ void HistoryBackend::ClearCachedDataForContextID(ContextID context_id) {
tracker_.ClearCachedDataForContextID(context_id);
}
-base::FilePath HistoryBackend::GetThumbnailFileName() const {
- return history_dir_.Append(kThumbnailsFilename);
-}
-
base::FilePath HistoryBackend::GetFaviconsFileName() const {
return history_dir_.Append(kFaviconsFilename);
}
@@ -2572,9 +2568,6 @@ bool HistoryBackend::ClearAllThumbnailHistory(
// fix the error if it exists. This may fail, in which case either the
// file doesn't exist or there's no more we can do.
sql::Connection::Delete(GetFaviconsFileName());
-
- // Older version of the database.
- sql::Connection::Delete(GetThumbnailFileName());
return true;
}
« no previous file with comments | « components/history/core/browser/history_backend.h ('k') | components/history/core/browser/history_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698