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

Unified Diff: sync/sessions/ordered_commit_set_unittest.cc

Issue 19982002: sync: Remove SyncSourceInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Convert SyncShareRecords to typedef 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 | « sync/sessions/ordered_commit_set.cc ('k') | sync/sessions/status_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/sessions/ordered_commit_set_unittest.cc
diff --git a/sync/sessions/ordered_commit_set_unittest.cc b/sync/sessions/ordered_commit_set_unittest.cc
index afb76b78a5d7bb99b7712dd6bee5ec67eb46f778..4bf1d6156b0ed23b4ad94c1a4bb5af10954ddbed 100644
--- a/sync/sessions/ordered_commit_set_unittest.cc
+++ b/sync/sessions/ordered_commit_set_unittest.cc
@@ -18,7 +18,7 @@ class OrderedCommitSetTest : public testing::Test {
routes_[BOOKMARKS] = GROUP_UI;
routes_[PREFERENCES] = GROUP_UI;
routes_[AUTOFILL] = GROUP_DB;
- routes_[TOP_LEVEL_FOLDER] = GROUP_PASSIVE;
+ routes_[SESSIONS] = GROUP_PASSIVE;
}
protected:
TestIdFactory ids_;
@@ -36,8 +36,8 @@ TEST_F(OrderedCommitSetTest, Projections) {
commit_set1.AddCommitItem(2, expected[2], PREFERENCES);
// Duplicates should be dropped.
commit_set1.AddCommitItem(2, expected[2], PREFERENCES);
- commit_set1.AddCommitItem(3, expected[3], TOP_LEVEL_FOLDER);
- commit_set1.AddCommitItem(4, expected[4], TOP_LEVEL_FOLDER);
+ commit_set1.AddCommitItem(3, expected[3], SESSIONS);
+ commit_set1.AddCommitItem(4, expected[4], SESSIONS);
commit_set2.AddCommitItem(7, expected[7], AUTOFILL);
commit_set2.AddCommitItem(6, expected[6], AUTOFILL);
commit_set2.AddCommitItem(5, expected[5], AUTOFILL);
@@ -102,7 +102,7 @@ TEST_F(OrderedCommitSetTest, HasBookmarkCommitId) {
OrderedCommitSet commit_set(routes_);
commit_set.AddCommitItem(0, ids_.NewLocalId(), AUTOFILL);
- commit_set.AddCommitItem(1, ids_.NewLocalId(), TOP_LEVEL_FOLDER);
+ commit_set.AddCommitItem(1, ids_.NewLocalId(), SESSIONS);
EXPECT_FALSE(commit_set.HasBookmarkCommitId());
commit_set.AddCommitItem(2, ids_.NewLocalId(), PREFERENCES);
« no previous file with comments | « sync/sessions/ordered_commit_set.cc ('k') | sync/sessions/status_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698