Home
last modified time | relevance | path

Searched refs:metahandle (Results 1 – 10 of 10) sorted by relevance

/external/chromium/chrome/browser/sync/engine/
Dget_commit_ids_command.cc136 int64 metahandle = iterator.Current(); in AddCreatesAndMoves() local
140 metahandle); in AddCreatesAndMoves()
162 int64 metahandle = iterator.Current(); in AddDeletes() local
165 metahandle); in AddDeletes()
192 ordered_commit_set_->AddCommitItem(metahandle, in AddDeletes()
225 int64 metahandle = iterator.Current(); in AddDeletes() local
227 metahandle); in AddDeletes()
231 ordered_commit_set_->AddCommitItem(metahandle, entry.Get(syncable::ID), in AddDeletes()
Dget_commit_ids_command.h84 bool ValidateMetahandleForCommit(int64 metahandle) { in ValidateMetahandleForCommit() argument
85 if (commit_set_->HaveCommitItem(metahandle)) in ValidateMetahandleForCommit()
91 syncable::GET_BY_HANDLE, metahandle); in ValidateMetahandleForCommit()
Dprocess_commit_response_command_unittest.cc128 int64 metahandle = 0; in CreateUnprocessedCommitResult() local
130 &metahandle); in CreateUnprocessedCommitResult()
134 commit_set_->AddCommitItem(metahandle, item_id, model_type); in CreateUnprocessedCommitResult()
Dsyncer_unittest.cc412 ValueType GetField(int64 metahandle, FieldType field, in GetField() argument
417 Entry entry(&trans, GET_BY_HANDLE, metahandle); in GetField()
422 EXPECT_EQ(metahandle, entry.Get(META_HANDLE)); in GetField()
427 Id Get(int64 metahandle, syncable::IdField field) const { in Get() argument
428 return GetField(metahandle, field, syncable::kNullId); in Get()
431 string Get(int64 metahandle, syncable::StringField field) const { in Get() argument
432 return GetField(metahandle, field, string()); in Get()
435 int64 Get(int64 metahandle, syncable::Int64Field field) const { in Get() argument
436 return GetField(metahandle, field, syncable::kInvalidMetaHandle); in Get()
439 int64 Get(int64 metahandle, syncable::BaseVersion field) const { in Get() argument
[all …]
/external/chromium/chrome/browser/sync/sessions/
Dordered_commit_set.cc21 void OrderedCommitSet::AddCommitItem(const int64 metahandle, in AddCommitItem() argument
24 if (!HaveCommitItem(metahandle)) { in AddCommitItem()
25 inserted_metahandles_.insert(metahandle); in AddCommitItem()
26 metahandle_order_.push_back(metahandle); in AddCommitItem()
Dordered_commit_set.h36 bool HaveCommitItem(const int64 metahandle) const { in HaveCommitItem() argument
37 return inserted_metahandles_.count(metahandle) > 0; in HaveCommitItem()
40 void AddCommitItem(const int64 metahandle, const syncable::Id& commit_id,
/external/chromium/chrome/browser/sync/syncable/
Dsyncable.cc465 EntryKernel* Directory::GetEntryByHandle(int64 metahandle) { in GetEntryByHandle() argument
467 return GetEntryByHandle(metahandle, &lock); in GetEntryByHandle()
470 EntryKernel* Directory::GetEntryByHandle(int64 metahandle, in GetEntryByHandle() argument
473 kernel_->needle.put(META_HANDLE, metahandle); in GetEntryByHandle()
1009 int64 metahandle = *i; in CheckTreeInvariants() local
1010 Entry e(trans, GET_BY_HANDLE, metahandle); in CheckTreeInvariants()
1272 Entry::Entry(BaseTransaction* trans, GetByHandle, int64 metahandle) in Entry() argument
1274 kernel_ = trans->directory()->GetEntryByHandle(metahandle); in Entry()
1411 int64 metahandle) in MutableEntry() argument
1412 : Entry(trans, GET_BY_HANDLE, metahandle), write_transaction_(trans) { in MutableEntry()
[all …]
Dsyncable_unittest.cc351 bool IsInDirtyMetahandles(int64 metahandle) { in IsInDirtyMetahandles() argument
352 return 1 == dir_->kernel_->dirty_metahandles->count(metahandle); in IsInDirtyMetahandles()
355 bool IsInMetahandlesToPurge(int64 metahandle) { in IsInMetahandlesToPurge() argument
356 return 1 == dir_->kernel_->metahandles_to_purge->count(metahandle); in IsInMetahandlesToPurge()
1434 int64 metahandle; member
1469 step_->metahandle = me.Get(META_HANDLE); in ThreadMain()
1478 Entry e(&trans, GET_BY_HANDLE, step_->metahandle); in ThreadMain()
Ddirectory_backing_store.cc750 int64 metahandle = query.column_int64(0); in MigrateToSpecifics() local
761 update.bind_int64(1, metahandle); in MigrateToSpecifics()
Dsyncable.h800 virtual EntryKernel* GetEntryByHandle(int64 metahandle,