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

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

Issue 1311403011: Removed archived history file deletion on browser start (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added obsolete tag to archived history histograms Created 5 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: components/history/core/browser/history_backend_db_unittest.cc
diff --git a/components/history/core/browser/history_backend_db_unittest.cc b/components/history/core/browser/history_backend_db_unittest.cc
index ff73bfd500d5d5bf098bcea4bb8a14ae479e8979..89e30ea527db7da652b07666d3a37c54d6d36ae3 100644
--- a/components/history/core/browser/history_backend_db_unittest.cc
+++ b/components/history/core/browser/history_backend_db_unittest.cc
@@ -438,20 +438,6 @@ TEST_F(HistoryBackendDBTest, MigrateDownloadValidators) {
}
}
-TEST_F(HistoryBackendDBTest, PurgeArchivedDatabase) {
- ASSERT_NO_FATAL_FAILURE(CreateDBVersion(27));
- ASSERT_NO_FATAL_FAILURE(CreateArchivedDB());
-
- ASSERT_TRUE(base::PathExists(history_dir_.Append(kArchivedHistoryFilename)));
-
- CreateBackendAndDatabase();
- DeleteBackend();
-
- // We do not retain expired history entries in an archived database as of M37.
- // Verify that any legacy archived database is deleted on start-up.
- ASSERT_FALSE(base::PathExists(history_dir_.Append(kArchivedHistoryFilename)));
-}
-
TEST_F(HistoryBackendDBTest, MigrateDownloadMimeType) {
base::Time now(base::Time::Now());
ASSERT_NO_FATAL_FAILURE(CreateDBVersion(28));
« no previous file with comments | « components/history/core/browser/history_backend.cc ('k') | components/history/core/browser/history_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698