/external/chromium/chrome/browser/sync/glue/ |
autofill_profile_change_processor.cc | 137 int64 sync_id = model_associator_->GetSyncIdFromChromeId(change->key()); local 138 if (sync_api::kInvalidId == sync_id) { 143 if (!node.InitByIdLookup(sync_id)) { 144 LOG(ERROR) << "Could not find sync node for id " << sync_id; 152 int64 sync_id = model_associator_->GetSyncIdFromChromeId(change->key()); local 153 if (sync_api::kInvalidId == sync_id) { 158 if (!node.InitByIdLookup(sync_id)) { 159 LOG(ERROR) << "Could not find sync node for id " << sync_id; 163 model_associator_->Disassociate(sync_id); 211 int64 sync_id) { 265 int64 sync_id = model_associator_->GetSyncIdFromChromeId(guid); local [all...] |
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); 95 // |sync_id| with that node's id. 96 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
|
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); 93 // |sync_id| with that node's id. 94 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
|
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); 98 // |sync_id| with that node's id. 99 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
|
autofill_change_processor.cc | 133 int64 sync_id = model_associator_->GetSyncIdFromChromeId(tag); local 134 if (sync_api::kInvalidId == sync_id) { 140 if (!sync_node.InitByIdLookup(sync_id)) { 174 int64 sync_id = model_associator_->GetSyncIdFromChromeId(tag); local 175 if (sync_api::kInvalidId == sync_id) { 182 if (!sync_node.InitByIdLookup(sync_id)) { 242 int64 sync_id = sync_node.GetId(); local 246 sync_id, autofill)); 318 int64 sync_id) { 333 model_associator_->Associate(&tag, sync_id); [all...] |
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) 202 : sync_id_(sync_id), 206 TabLinks(int64 sync_id, const SessionTab* session_tab) 207 : sync_id_(sync_id), 212 inline int64 sync_id() const { return sync_id_; } function in class:browser_sync::SessionModelAssociator::TabLinks 233 void AddTabNode(int64 sync_id); 235 // Returns the sync_id for the next free tab node. If none are available [all...] |
bookmark_model_associator.cc | 191 int64 sync_id) { 192 SyncIdToBookmarkNodeMap::const_iterator iter = id_map_inverse_.find(sync_id); 200 int64 sync_id = GetSyncIdFromChromeId(node_id); local 201 if (sync_id == sync_api::kInvalidId) 203 if (!sync_node->InitByIdLookup(sync_id)) 205 DCHECK(sync_node->GetId() == sync_id); 210 int64 sync_id) { 213 DCHECK_NE(sync_id, sync_api::kInvalidId); 215 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); 216 id_map_[node_id] = sync_id; 282 int64 sync_id = GetSyncIdFromChromeId(permanent_node->id()); local 452 int64 sync_id = *iter; local [all...] |
password_change_processor.cc | 88 int64 sync_id = model_associator_->GetSyncIdFromChromeId(tag); local 89 if (sync_api::kInvalidId == sync_id) { 94 if (!sync_node.InitByIdLookup(sync_id)) { 106 int64 sync_id = model_associator_->GetSyncIdFromChromeId(tag); local 107 if (sync_api::kInvalidId == sync_id) { 112 if (!sync_node.InitByIdLookup(sync_id)) {
|
preference_model_associator.cc | 174 PreferenceModelAssociator::GetChromeNodeFromSyncId(int64 sync_id) { 192 const PrefService::Preference* preference, int64 sync_id) { 194 DCHECK_NE(sync_api::kInvalidId, sync_id); 196 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); 197 id_map_[preference->name()] = sync_id; 198 id_map_inverse_[sync_id] = preference->name(); 201 void PreferenceModelAssociator::Disassociate(int64 sync_id) { 203 SyncIdToPreferenceNameMap::iterator iter = id_map_inverse_.find(sync_id); 211 int64* sync_id) { 216 *sync_id = sync_node.GetId() [all...] |
autofill_model_associator.cc | 358 int64 sync_id = node.GetId(); local 360 Associate(&guid, sync_id); 414 AutofillModelAssociator::GetChromeNodeFromSyncId(int64 sync_id) { 415 SyncIdToAutofillMap::const_iterator iter = id_map_inverse_.find(sync_id); 432 const std::string* autofill, int64 sync_id) { 434 DCHECK_NE(sync_api::kInvalidId, sync_id); 436 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); 437 id_map_[*autofill] = sync_id; 438 id_map_inverse_[sync_id] = *autofill; 441 void AutofillModelAssociator::Disassociate(int64 sync_id) { [all...] |
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); 90 // |sync_id| with that node's id. 91 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
|
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); 95 // |sync_id| with that node's id. No current use. To Implement 97 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
|
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); 92 // Stores the id of the node with the given tag in |sync_id|. 95 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
|
autofill_change_processor.h | 94 int64 sync_id); 98 int64 sync_id); 104 int64 sync_id);
|
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;
|
autofill_profile_model_associator.cc | 118 int64* sync_id) { 123 *sync_id = sync_node.GetId(); 460 int64 sync_id) { 462 DCHECK_NE(sync_api::kInvalidId, sync_id); 464 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); 465 id_map_[*autofill] = sync_id; 466 id_map_inverse_[sync_id] = *autofill; 469 void AutofillProfileModelAssociator::Disassociate(int64 sync_id) { 471 SyncIdToAutofillMap::iterator iter = id_map_inverse_.find(sync_id); 491 int64 sync_id) { [all...] |
session_model_associator.cc | 98 SessionModelAssociator::GetChromeNodeFromSyncId(int64 sync_id) { 205 int64 sync_id; 214 tab_pool_.FreeTabNode(tab_iter->second.sync_id()); 222 sync_id = tab_pool_.GetFreeTabNode(); 225 sync_id = tablink->second.sync_id(); 227 Associate(&tab, sync_id); 230 void SessionModelAssociator::Associate(const TabContents* tab, int64 sync_id) { 238 TabLinks t(sync_id, tab); 242 WriteTabContentsToSyncModel(*browser, *tab, sync_id, &trans) [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
password_model_associator.h | 80 virtual const std::string* GetChromeNodeFromSyncId(int64 sync_id) OVERRIDE; 91 virtual void Associate(const std::string* node, int64 sync_id) OVERRIDE; 94 virtual void Disassociate(int64 sync_id) OVERRIDE; 97 // |sync_id| with that node's id. 98 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
|
password_change_processor.cc | 101 int64 sync_id = model_associator_->GetSyncIdFromChromeId(tag); local 102 if (syncer::kInvalidId == sync_id) { 108 if (sync_node.InitByIdLookup(sync_id) != 121 int64 sync_id = model_associator_->GetSyncIdFromChromeId(tag); local 122 if (syncer::kInvalidId == sync_id) { 128 if (sync_node.InitByIdLookup(sync_id) != 142 int64 sync_id = model_associator_->GetSyncIdFromChromeId(tag); local 143 if (syncer::kInvalidId == sync_id) { 150 if (sync_node.InitByIdLookup(sync_id) !=
|
bookmark_model_associator.cc | 238 int64 sync_id) { 239 SyncIdToBookmarkNodeMap::const_iterator iter = id_map_inverse_.find(sync_id); 247 int64 sync_id = GetSyncIdFromChromeId(node_id); local 248 if (sync_id == syncer::kInvalidId) 250 if (sync_node->InitByIdLookup(sync_id) != syncer::BaseNode::INIT_OK) 252 DCHECK(sync_node->GetId() == sync_id); 257 int64 sync_id) { 260 DCHECK_NE(sync_id, syncer::kInvalidId); 262 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); 263 id_map_[node_id] = sync_id; 346 int64 sync_id = GetSyncIdFromChromeId(permanent_node->id()); local 563 int64 sync_id; member in struct:browser_sync::FolderInfo 679 int64 sync_id = *iter; local [all...] |
bookmark_model_associator.h | 80 virtual const BookmarkNode* GetChromeNodeFromSyncId(int64 sync_id) OVERRIDE; 90 virtual void Associate(const BookmarkNode* node, int64 sync_id) OVERRIDE; 92 virtual void Disassociate(int64 sync_id) OVERRIDE; 103 // Stores the id of the node with the given tag in |sync_id|. 106 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
|
model_associator.h | 77 virtual const Node* GetChromeNodeFromSyncId(int64 sync_id) = 0; 87 virtual void Associate(const Node* node, int64 sync_id) = 0; 90 virtual void Disassociate(int64 sync_id) = 0;
|
synced_tab_delegate_android.cc | 113 void SyncedTabDelegateAndroid::SetSyncId(int sync_id) { 114 tab_android_->SetSyncId(sync_id);
|
/external/chromium_org/chrome/browser/ui/sync/ |
tab_contents_synced_tab_delegate.cc | 108 void TabContentsSyncedTabDelegate::SetSyncId(int sync_id) { 109 sync_session_id_ = sync_id;
|
tab_contents_synced_tab_delegate.h | 41 virtual void SetSyncId(int sync_id) OVERRIDE;
|