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

Unified Diff: chrome/browser/sync/profile_sync_service_typed_url_unittest.cc

Issue 235863023: Eliminate the archived history database and clean up related code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename a few outstanding instances of "archived" to "expired". Created 6 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: chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
index fce87fcfc8054a716ce795af94a7e5fea7567edc..fbe5cb1076b2a031ef4eb90b4c85cde4a39ea98b 100644
--- a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
@@ -839,7 +839,7 @@ TEST_F(ProfileSyncServiceTypedUrlTest, ProcessUserChangeRemove) {
EXPECT_TRUE(URLsEqual(original_entry2, new_sync_entries[0]));
}
-TEST_F(ProfileSyncServiceTypedUrlTest, ProcessUserChangeRemoveArchive) {
+TEST_F(ProfileSyncServiceTypedUrlTest, ProcessUserChangeRemoveExpired) {
history::VisitVector original_visits1;
history::URLRow original_entry1(MakeTypedUrlEntry("http://mine.com", "entry",
2, 15, false,
@@ -863,8 +863,8 @@ TEST_F(ProfileSyncServiceTypedUrlTest, ProcessUserChangeRemoveArchive) {
history::URLsDeletedDetails changes;
changes.all_history = false;
- // Setting archived=true should cause the sync code to ignore this deletion.
- changes.archived = true;
+ // Setting expired=true should cause the sync code to ignore this deletion.
+ changes.expired = true;
changes.rows.push_back(history::URLRow(GURL("http://mine.com")));
scoped_refptr<ThreadNotifier> notifier(
new ThreadNotifier(history_thread_.get()));

Powered by Google App Engine
This is Rietveld 408576698