/external/chromium/chrome/browser/sync/glue/ |
D | bookmark_model_associator.cc | 191 int64 sync_id) { in GetChromeNodeFromSyncId() argument 192 SyncIdToBookmarkNodeMap::const_iterator iter = id_map_inverse_.find(sync_id); in GetChromeNodeFromSyncId() 200 int64 sync_id = GetSyncIdFromChromeId(node_id); in InitSyncNodeFromChromeId() local 201 if (sync_id == sync_api::kInvalidId) in InitSyncNodeFromChromeId() 203 if (!sync_node->InitByIdLookup(sync_id)) in InitSyncNodeFromChromeId() 205 DCHECK(sync_node->GetId() == sync_id); in InitSyncNodeFromChromeId() 210 int64 sync_id) { in Associate() argument 213 DCHECK_NE(sync_id, sync_api::kInvalidId); in Associate() 215 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate() 216 id_map_[node_id] = sync_id; in Associate() [all …]
|
D | session_model_associator.h | 85 virtual const TabContents* GetChromeNodeFromSyncId(int64 sync_id); 109 virtual void Associate(const TabContents* tab, int64 sync_id); 113 virtual void Disassociate(int64 sync_id); 201 TabLinks(int64 sync_id, const TabContents* tab) in TabLinks() argument 202 : sync_id_(sync_id), in TabLinks() 206 TabLinks(int64 sync_id, const SessionTab* session_tab) in TabLinks() argument 207 : sync_id_(sync_id), in TabLinks() 212 inline int64 sync_id() const { return sync_id_; } in sync_id() function 233 void AddTabNode(int64 sync_id); 255 void FreeTabNode(int64 sync_id); [all …]
|
D | autofill_profile_change_processor.cc | 137 int64 sync_id = model_associator_->GetSyncIdFromChromeId(change->key()); in ActOnChange() local 138 if (sync_api::kInvalidId == sync_id) { in ActOnChange() 143 if (!node.InitByIdLookup(sync_id)) { in ActOnChange() 144 LOG(ERROR) << "Could not find sync node for id " << sync_id; in ActOnChange() 152 int64 sync_id = model_associator_->GetSyncIdFromChromeId(change->key()); in ActOnChange() local 153 if (sync_api::kInvalidId == sync_id) { in ActOnChange() 158 if (!node.InitByIdLookup(sync_id)) { in ActOnChange() 159 LOG(ERROR) << "Could not find sync node for id " << sync_id; in ActOnChange() 163 model_associator_->Disassociate(sync_id); in ActOnChange() 211 int64 sync_id) { in ApplyAutofillProfileChange() argument [all …]
|
D | autofill_change_processor.cc | 133 int64 sync_id = model_associator_->GetSyncIdFromChromeId(tag); in ObserveAutofillEntriesChanged() local 134 if (sync_api::kInvalidId == sync_id) { in ObserveAutofillEntriesChanged() 140 if (!sync_node.InitByIdLookup(sync_id)) { in ObserveAutofillEntriesChanged() 174 int64 sync_id = model_associator_->GetSyncIdFromChromeId(tag); in RemoveSyncNode() local 175 if (sync_api::kInvalidId == sync_id) { in RemoveSyncNode() 182 if (!sync_node.InitByIdLookup(sync_id)) { in RemoveSyncNode() 242 int64 sync_id = sync_node.GetId(); in ApplyChangesFromSyncModel() local 246 sync_id, autofill)); in ApplyChangesFromSyncModel() 318 int64 sync_id) { in ApplySyncAutofillEntryChange() argument 333 model_associator_->Associate(&tag, sync_id); in ApplySyncAutofillEntryChange() [all …]
|
D | preference_model_associator.cc | 174 PreferenceModelAssociator::GetChromeNodeFromSyncId(int64 sync_id) { in GetChromeNodeFromSyncId() argument 192 const PrefService::Preference* preference, int64 sync_id) { in Associate() argument 194 DCHECK_NE(sync_api::kInvalidId, sync_id); in Associate() 196 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate() 197 id_map_[preference->name()] = sync_id; in Associate() 198 id_map_inverse_[sync_id] = preference->name(); in Associate() 201 void PreferenceModelAssociator::Disassociate(int64 sync_id) { in Disassociate() argument 203 SyncIdToPreferenceNameMap::iterator iter = id_map_inverse_.find(sync_id); in Disassociate() 211 int64* sync_id) { in GetSyncIdForTaggedNode() argument 216 *sync_id = sync_node.GetId(); in GetSyncIdForTaggedNode()
|
D | session_model_associator.cc | 98 SessionModelAssociator::GetChromeNodeFromSyncId(int64 sync_id) { in GetChromeNodeFromSyncId() argument 205 int64 sync_id; in ReassociateTab() local 214 tab_pool_.FreeTabNode(tab_iter->second.sync_id()); in ReassociateTab() 222 sync_id = tab_pool_.GetFreeTabNode(); in ReassociateTab() 225 sync_id = tablink->second.sync_id(); in ReassociateTab() 227 Associate(&tab, sync_id); in ReassociateTab() 230 void SessionModelAssociator::Associate(const TabContents* tab, int64 sync_id) { in Associate() argument 238 TabLinks t(sync_id, tab); in Associate() 242 WriteTabContentsToSyncModel(*browser, *tab, sync_id, &trans); in Associate() 248 int64 sync_id, in WriteTabContentsToSyncModel() argument [all …]
|
D | bookmark_model_associator.h | 70 virtual const BookmarkNode* GetChromeNodeFromSyncId(int64 sync_id); 79 virtual void Associate(const BookmarkNode* node, int64 sync_id); 81 virtual void Disassociate(int64 sync_id); 95 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
|
D | preference_model_associator.h | 76 virtual const PrefService::Preference* GetChromeNodeFromSyncId(int64 sync_id); 87 virtual void Associate(const PrefService::Preference* node, int64 sync_id); 90 virtual void Disassociate(int64 sync_id); 94 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
|
D | model_associator.h | 73 virtual const Node* GetChromeNodeFromSyncId(int64 sync_id) = 0; 82 virtual void Associate(const Node* node, int64 sync_id) = 0; 85 virtual void Disassociate(int64 sync_id) = 0;
|
D | password_model_associator.cc | 215 int64 sync_id) { in GetChromeNodeFromSyncId() argument 237 const std::string* password, int64 sync_id) { in Associate() argument 239 DCHECK_NE(sync_api::kInvalidId, sync_id); in Associate() 241 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate() 242 id_map_[*password] = sync_id; in Associate() 243 id_map_inverse_[sync_id] = *password; in Associate() 246 void PasswordModelAssociator::Disassociate(int64 sync_id) { in Disassociate() argument 248 SyncIdToPasswordMap::iterator iter = id_map_inverse_.find(sync_id); in Disassociate() 256 int64* sync_id) { in GetSyncIdForTaggedNode() argument 261 *sync_id = sync_node.GetId(); in GetSyncIdForTaggedNode()
|
D | autofill_model_associator.cc | 358 int64 sync_id = node.GetId(); in AddNativeProfileIfNeeded() local 360 Associate(&guid, sync_id); in AddNativeProfileIfNeeded() 414 AutofillModelAssociator::GetChromeNodeFromSyncId(int64 sync_id) { in GetChromeNodeFromSyncId() argument 415 SyncIdToAutofillMap::const_iterator iter = id_map_inverse_.find(sync_id); in GetChromeNodeFromSyncId() 432 const std::string* autofill, int64 sync_id) { in Associate() argument 434 DCHECK_NE(sync_api::kInvalidId, sync_id); in Associate() 436 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate() 437 id_map_[*autofill] = sync_id; in Associate() 438 id_map_inverse_[sync_id] = *autofill; in Associate() 441 void AutofillModelAssociator::Disassociate(int64 sync_id) { in Disassociate() argument [all …]
|
D | password_change_processor.cc | 88 int64 sync_id = model_associator_->GetSyncIdFromChromeId(tag); in Observe() local 89 if (sync_api::kInvalidId == sync_id) { in Observe() 94 if (!sync_node.InitByIdLookup(sync_id)) { in Observe() 106 int64 sync_id = model_associator_->GetSyncIdFromChromeId(tag); in Observe() local 107 if (sync_api::kInvalidId == sync_id) { in Observe() 112 if (!sync_node.InitByIdLookup(sync_id)) { in Observe()
|
D | password_model_associator.h | 78 virtual const std::string* GetChromeNodeFromSyncId(int64 sync_id); 89 virtual void Associate(const std::string* node, int64 sync_id); 92 virtual void Disassociate(int64 sync_id); 96 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
|
D | autofill_profile_model_associator.cc | 118 int64* sync_id) { in GetSyncIdForTaggedNode() argument 123 *sync_id = sync_node.GetId(); in GetSyncIdForTaggedNode() 460 int64 sync_id) { in Associate() argument 462 DCHECK_NE(sync_api::kInvalidId, sync_id); in Associate() 464 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate() 465 id_map_[*autofill] = sync_id; in Associate() 466 id_map_inverse_[sync_id] = *autofill; in Associate() 469 void AutofillProfileModelAssociator::Disassociate(int64 sync_id) { in Disassociate() argument 471 SyncIdToAutofillMap::iterator iter = id_map_inverse_.find(sync_id); in Disassociate() 491 int64 sync_id) { in GetChromeNodeFromSyncId() argument [all …]
|
D | typed_url_model_associator.h | 81 virtual const std::string* GetChromeNodeFromSyncId(int64 sync_id); 92 virtual void Associate(const std::string* node, int64 sync_id); 95 virtual void Disassociate(int64 sync_id); 99 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
|
D | autofill_profile_model_associator.h | 78 virtual const std::string* GetChromeNodeFromSyncId(int64 sync_id); 88 virtual void Associate(const std::string* node, int64 sync_id); 91 virtual void Disassociate(int64 sync_id); 97 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
|
D | autofill_model_associator.h | 73 virtual const std::string* GetChromeNodeFromSyncId(int64 sync_id); 84 virtual void Associate(const std::string* node, int64 sync_id); 87 virtual void Disassociate(int64 sync_id); 91 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
|
D | autofill_change_processor.h | 94 int64 sync_id); 98 int64 sync_id); 104 int64 sync_id);
|
D | typed_url_model_associator.cc | 238 int64 sync_id) { in GetChromeNodeFromSyncId() argument 255 const std::string* typed_url, int64 sync_id) { in Associate() argument 257 DCHECK_NE(sync_api::kInvalidId, sync_id); in Associate() 259 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate() 260 id_map_[*typed_url] = sync_id; in Associate() 261 id_map_inverse_[sync_id] = *typed_url; in Associate() 264 void TypedUrlModelAssociator::Disassociate(int64 sync_id) { in Disassociate() argument 266 SyncIdToTypedUrlMap::iterator iter = id_map_inverse_.find(sync_id); in Disassociate() 274 int64* sync_id) { in GetSyncIdForTaggedNode() argument 279 *sync_id = sync_node.GetId(); in GetSyncIdForTaggedNode()
|
D | preference_change_processor.cc | 58 int64 sync_id = model_associator_->GetSyncIdFromChromeId(*name); in Observe() local 62 model_associator_->Disassociate(sync_id); in Observe() 74 if (sync_api::kInvalidId == sync_id) { in Observe() 92 if (!node.InitByIdLookup(sync_id)) { in Observe()
|
D | typed_url_change_processor.cc | 140 int64 sync_id = in HandleURLsDeleted() local 142 if (sync_api::kInvalidId != sync_id) { in HandleURLsDeleted() 143 if (!sync_node.InitByIdLookup(sync_id)) { in HandleURLsDeleted()
|
D | autofill_profile_change_processor.h | 105 int64 sync_id);
|
/external/chromium/chrome/browser/sync/ |
D | profile_sync_service_bookmark_unittest.cc | 55 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id) { in GetSyncIdForTaggedNode() argument 97 *sync_id = id; in GetSyncIdForTaggedNode() 115 *sync_id = node.GetId(); in GetSyncIdForTaggedNode() 406 int64 sync_id) { in ExpectBrowserNodeMatching() argument 407 EXPECT_TRUE(sync_id); in ExpectBrowserNodeMatching() 409 model_associator_->GetChromeNodeFromSyncId(sync_id); in ExpectBrowserNodeMatching() 412 EXPECT_EQ(id, sync_id); in ExpectBrowserNodeMatching() 416 void ExpectBrowserNodeUnknown(int64 sync_id) { in ExpectBrowserNodeUnknown() argument 417 EXPECT_FALSE(model_associator_->GetChromeNodeFromSyncId(sync_id)); in ExpectBrowserNodeUnknown() 420 void ExpectBrowserNodeKnown(int64 sync_id) { in ExpectBrowserNodeKnown() argument [all …]
|
D | profile_sync_service_session_unittest.cc | 181 int64 sync_id = model_associator_->GetSyncIdFromSessionTag(machine_tag); in TEST_F() local 182 ASSERT_NE(sync_api::kInvalidId, sync_id); in TEST_F() 215 int64 sync_id = model_associator_->GetSyncIdFromSessionTag(machine_tag); in TEST_F() local 216 ASSERT_NE(sync_api::kInvalidId, sync_id); in TEST_F()
|
/external/kernel-headers/original/video/ |
D | dsscomp.h | 488 __u32 sync_id; /* synchronization ID - for debugging */ member 542 __u32 sync_id; /* synchronization ID - for debugging */ member
|