Home
last modified time | relevance | path

Searched refs:commit_set (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/sync/sessions/
Dordered_commit_set_unittest.cc101 OrderedCommitSet commit_set(routes_); in TEST_F() local
103 commit_set.AddCommitItem(0, ids_.NewLocalId(), syncable::AUTOFILL); in TEST_F()
104 commit_set.AddCommitItem(1, ids_.NewLocalId(), syncable::TOP_LEVEL_FOLDER); in TEST_F()
105 EXPECT_FALSE(commit_set.HasBookmarkCommitId()); in TEST_F()
107 commit_set.AddCommitItem(2, ids_.NewLocalId(), syncable::PREFERENCES); in TEST_F()
108 commit_set.AddCommitItem(3, ids_.NewLocalId(), syncable::PREFERENCES); in TEST_F()
109 EXPECT_FALSE(commit_set.HasBookmarkCommitId()); in TEST_F()
111 commit_set.AddCommitItem(4, ids_.NewLocalId(), syncable::BOOKMARKS); in TEST_F()
112 EXPECT_TRUE(commit_set.HasBookmarkCommitId()); in TEST_F()
114 commit_set.Truncate(4); in TEST_F()
[all …]
Dstatus_controller.h119 return shared_.commit_set.GetAllCommitIds(); in commit_ids()
124 return shared_.commit_set.GetCommitIdProjection(group_restriction_); in commit_id_projection()
128 return shared_.commit_set.GetCommitIdAt(index); in GetCommitIdAt()
132 return shared_.commit_set.GetModelTypeAt(index); in GetCommitIdModelTypeAt()
166 shared_.commit_set.HasBookmarkCommitId(); in HasBookmarkCommitActivity()
218 void set_commit_set(const OrderedCommitSet& commit_set);
Dstatus_controller.cc142 void StatusController::set_commit_set(const OrderedCommitSet& commit_set) { in set_commit_set() argument
144 shared_.commit_set = commit_set; in set_commit_set()
172 shared_.commit_set.GetCommitIdProjection(group_restriction_); in CurrentCommitIdProjectionHasIndex()
Dsync_session_unittest.cc139 OrderedCommitSet commit_set(routes_); in TEST_F() local
140 commit_set.AddCommitItem(0, syncable::Id(), syncable::BOOKMARKS); in TEST_F()
141 status()->set_commit_set(commit_set); in TEST_F()
Dsession_state.h291 OrderedCommitSet commit_set; member
Dsession_state.cc350 commit_set(ModelSafeRoutingInfo()) { in AllModelTypeState()
/external/chromium/chrome/browser/sync/engine/
Dget_commit_ids_command.h46 sessions::OrderedCommitSet* commit_set) in CommitMetahandleIterator() argument
50 commit_set_(commit_set) { in CommitMetahandleIterator()
Dsyncer_unittest.cc549 sessions::OrderedCommitSet commit_set(session_->routing_info()); in TEST_F() local
551 &commit_set); in TEST_F()
565 sessions::OrderedCommitSet commit_set(session_->routing_info()); in TEST_F() local
567 &commit_set); in TEST_F()