Searched defs:sync_id (Results 1 - 16 of 16) sorted by relevance

/external/chromium/chrome/browser/sync/glue/
H A Dpassword_change_processor.cc88 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)) {
H A Dpreference_change_processor.cc58 int64 sync_id = model_associator_->GetSyncIdFromChromeId(*name); local
62 model_associator_->Disassociate(sync_id);
74 if (sync_api::kInvalidId == sync_id) {
92 if (!node.InitByIdLookup(sync_id)) {
H A Dsession_model_associator.h85 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) argument
202 : sync_id_(sync_id),
206 TabLinks(int64 sync_id, const SessionTab* session_tab) argument
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 fo
[all...]
H A Dtyped_url_change_processor.cc140 int64 sync_id = local
142 if (sync_api::kInvalidId != sync_id) {
143 if (!sync_node.InitByIdLookup(sync_id)) {
H A Dautofill_change_processor.cc133 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);
314 ApplySyncAutofillEntryChange( sync_api::SyncManager::ChangeRecord::Action action, const sync_pb::AutofillSpecifics& autofill, std::vector<AutofillEntry>* new_entries, int64 sync_id) argument
336 ApplySyncAutofillProfileChange( sync_api::SyncManager::ChangeRecord::Action action, const sync_pb::AutofillProfileSpecifics& profile, int64 sync_id) argument
391 ApplySyncAutofillProfileDelete( int64 sync_id) argument
[all...]
H A Dautofill_profile_change_processor.cc137 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) {
208 ApplyAutofillProfileChange( sync_api::SyncManager::ChangeRecord::Action action, const sync_pb::AutofillProfileSpecifics& profile_specifics, int64 sync_id) argument
265 int64 sync_id = model_associator_->GetSyncIdFromChromeId(guid); local
[all...]
H A Dautofill_profile_model_associator.cc118 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) { argument
471 SyncIdToAutofillMap::iterator iter = id_map_inverse_.find(sync_id);
491 int64 sync_id) {
116 GetSyncIdForTaggedNode( const std::string& tag, int64* sync_id) argument
458 Associate( const std::string* autofill, int64 sync_id) argument
490 GetChromeNodeFromSyncId( int64 sync_id) argument
[all...]
H A Dpassword_model_associator.cc215 int64 sync_id) {
237 const std::string* password, int64 sync_id) {
239 DCHECK_NE(sync_api::kInvalidId, sync_id);
241 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end());
242 id_map_[*password] = sync_id;
243 id_map_inverse_[sync_id] = *password;
246 void PasswordModelAssociator::Disassociate(int64 sync_id) { argument
248 SyncIdToPasswordMap::iterator iter = id_map_inverse_.find(sync_id);
256 int64* sync_id) {
261 *sync_id
214 GetChromeNodeFromSyncId( int64 sync_id) argument
236 Associate( const std::string* password, int64 sync_id) argument
255 GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id) argument
[all...]
H A Dpreference_model_associator.cc174 PreferenceModelAssociator::GetChromeNodeFromSyncId(int64 sync_id) { argument
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) { argument
203 SyncIdToPreferenceNameMap::iterator iter = id_map_inverse_.find(sync_id);
211 int64* sync_id) {
216 *sync_id
191 Associate( const PrefService::Preference* preference, int64 sync_id) argument
210 GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id) argument
[all...]
H A Dtyped_url_model_associator.cc238 int64 sync_id) {
255 const std::string* typed_url, int64 sync_id) {
257 DCHECK_NE(sync_api::kInvalidId, sync_id);
259 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end());
260 id_map_[*typed_url] = sync_id;
261 id_map_inverse_[sync_id] = *typed_url;
264 void TypedUrlModelAssociator::Disassociate(int64 sync_id) { argument
266 SyncIdToTypedUrlMap::iterator iter = id_map_inverse_.find(sync_id);
274 int64* sync_id) {
279 *sync_id
237 GetChromeNodeFromSyncId( int64 sync_id) argument
254 Associate( const std::string* typed_url, int64 sync_id) argument
273 GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id) argument
[all...]
H A Dbookmark_model_associator.cc191 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;
190 GetChromeNodeFromSyncId( int64 sync_id) argument
209 Associate(const BookmarkNode* node, int64 sync_id) argument
222 Disassociate(int64 sync_id) argument
282 int64 sync_id = GetSyncIdFromChromeId(permanent_node->id()); local
292 GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id) argument
452 int64 sync_id = *iter; local
[all...]
H A Dautofill_model_associator.cc358 int64 sync_id = node.GetId(); local
360 Associate(&guid, sync_id);
414 AutofillModelAssociator::GetChromeNodeFromSyncId(int64 sync_id) { argument
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) { argument
431 Associate( const std::string* autofill, int64 sync_id) argument
450 GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id) argument
[all...]
H A Dsession_model_associator.cc98 SessionModelAssociator::GetChromeNodeFromSyncId(int64 sync_id) { argument
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) { argument
238 TabLinks t(sync_id, tab);
242 WriteTabContentsToSyncModel(*browser, *tab, sync_id,
245 WriteTabContentsToSyncModel( const Browser& browser, const TabContents& tab, int64 sync_id, sync_api::WriteTransaction* trans) argument
378 Disassociate(int64 sync_id) argument
730 AddTabNode(int64 sync_id) argument
767 FreeTabNode(int64 sync_id) argument
955 WriteSessionTabToSyncModel( const SessionTab& tab, const int64 sync_id, sync_api::WriteTransaction* trans) argument
[all...]
/external/chromium/chrome/browser/sync/
H A Dprofile_sync_service_session_unittest.cc181 int64 sync_id = model_associator_->GetSyncIdFromSessionTag(machine_tag); local
182 ASSERT_NE(sync_api::kInvalidId, sync_id);
215 int64 sync_id = model_associator_->GetSyncIdFromSessionTag(machine_tag); local
216 ASSERT_NE(sync_api::kInvalidId, sync_id);
H A Dprofile_sync_service_bookmark_unittest.cc55 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id) { argument
97 *sync_id = id;
115 *sync_id = node.GetId();
406 int64 sync_id) {
407 EXPECT_TRUE(sync_id);
409 model_associator_->GetChromeNodeFromSyncId(sync_id);
412 EXPECT_EQ(id, sync_id);
416 void ExpectBrowserNodeUnknown(int64 sync_id) { argument
417 EXPECT_FALSE(model_associator_->GetChromeNodeFromSyncId(sync_id));
420 void ExpectBrowserNodeKnown(int64 sync_id) { argument
405 ExpectBrowserNodeMatching(sync_api::BaseTransaction* trans, int64 sync_id) argument
425 int64 sync_id = model_associator_->GetSyncIdFromChromeId(node->id()); local
430 int64 sync_id = model_associator_->GetSyncIdFromChromeId(node->id()); local
434 ExpectBrowserNodeTitle(int64 sync_id, const std::wstring& title) argument
441 ExpectBrowserNodeURL(int64 sync_id, const std::string& url) argument
448 ExpectBrowserNodeParent(int64 sync_id, int64 parent_sync_id) argument
[all...]
/external/kernel-headers/original/video/
H A Ddsscomp.h488 __u32 sync_id; /* synchronization ID - for debugging */ member in struct:dsscomp_setup_mgr_data
542 __u32 sync_id; /* synchronization ID - for debugging */ member in struct:dsscomp_setup_dispc_data

Completed in 197 milliseconds