Home
last modified time | relevance | path

Searched refs:unsynced_handles (Results 1 – 11 of 11) sorted by relevance

/external/chromium/chrome/browser/sync/engine/
Dget_commit_ids_command.h33 void BuildCommitIds(const vector<int64>& unsynced_handles,
44 CommitMetahandleIterator(const vector<int64>& unsynced_handles, in CommitMetahandleIterator() argument
48 handle_iterator_(unsynced_handles.begin()), in CommitMetahandleIterator()
49 unsynced_handles_end_(unsynced_handles.end()), in CommitMetahandleIterator()
130 void AddCreatesAndMoves(const vector<int64>& unsynced_handles,
134 void AddDeletes(const vector<int64>& unsynced_handles,
Dget_commit_ids_command.cc37 BuildCommitIds(status->unsynced_handles(), session->write_transaction(), in ExecuteImpl()
128 const vector<int64>& unsynced_handles, in AddCreatesAndMoves() argument
132 for (CommitMetahandleIterator iterator(unsynced_handles, write_transaction, in AddCreatesAndMoves()
154 void GetCommitIdsCommand::AddDeletes(const vector<int64>& unsynced_handles, in AddDeletes() argument
158 for (CommitMetahandleIterator iterator(unsynced_handles, write_transaction, in AddDeletes()
221 for (CommitMetahandleIterator iterator(unsynced_handles, write_transaction, in AddDeletes()
238 void GetCommitIdsCommand::BuildCommitIds(const vector<int64>& unsynced_handles, in BuildCommitIds() argument
252 AddCreatesAndMoves(unsynced_handles, write_transaction, routes); in BuildCommitIds()
255 AddDeletes(unsynced_handles, write_transaction); in BuildCommitIds()
Dsyncer_unittest.cc355 command.BuildCommitIds(session_->status_controller()->unsynced_handles(), in DoTruncationTest()
543 const vector<int64>& unsynced(status->unsynced_handles()); in TEST_F()
607 EXPECT_TRUE(2 == status->unsynced_handles().size()); in TEST_F()
655 EXPECT_EQ(2U, status->unsynced_handles().size()); in TEST_F()
900 EXPECT_TRUE(6 == session_->status_controller()->unsynced_handles().size()); in TEST_F()
970 EXPECT_TRUE(6 == session_->status_controller()->unsynced_handles().size()); in TEST_F()
1012 EXPECT_TRUE(3 == session_->status_controller()->unsynced_handles().size()); in TEST_F()
1061 EXPECT_TRUE(3 == session_->status_controller()->unsynced_handles().size()); in TEST_F()
1136 EXPECT_TRUE(3 == session_->status_controller()->unsynced_handles().size()); in TEST_F()
Dsyncer_thread.cc618 || old_job.session->status_controller()->unsynced_handles().size() > 0; in ScheduleNextSync()
/external/chromium/chrome/browser/sync/sessions/
Dstatus_controller.cc117 const std::vector<int64>& unsynced_handles) { in set_unsynced_handles() argument
118 if (!operator==(unsynced_handles, shared_.unsynced_handles.value())) { in set_unsynced_handles()
119 *(shared_.unsynced_handles.mutate()) = unsynced_handles; in set_unsynced_handles()
Dstatus_controller.h134 const std::vector<int64>& unsynced_handles() const { in unsynced_handles() function
137 return shared_.unsynced_handles.value(); in unsynced_handles()
216 void set_unsynced_handles(const std::vector<int64>& unsynced_handles);
Dsync_session.cc87 status_controller_->unsynced_handles().size(), in TakeSnapshot()
103 return ((status->commit_ids().size() < status->unsynced_handles().size()) && in HasMoreToSync()
Dsync_session_unittest.cc144 std::vector<int64> unsynced_handles; in TEST_F() local
145 unsynced_handles.push_back(1); in TEST_F()
146 unsynced_handles.push_back(2); in TEST_F()
147 status()->set_unsynced_handles(unsynced_handles); in TEST_F()
Dtest_util.cc42 ASSERT_EQ(0U, session->status_controller()->unsynced_handles().size()); in SimulateSuccess()
Dsession_state.h286 DirtyOnWrite<std::vector<int64> > unsynced_handles; member
Dsession_state.cc346 : unsynced_handles(dirty_flag), in AllModelTypeState()