Home
last modified time | relevance | path

Searched refs:sync_id (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/chrome/browser/sync/glue/
Dbookmark_model_associator.cc267 int64 sync_id) { in GetChromeNodeFromSyncId() argument
268 SyncIdToBookmarkNodeMap::const_iterator iter = id_map_inverse_.find(sync_id); in GetChromeNodeFromSyncId()
276 int64 sync_id = GetSyncIdFromChromeId(node_id); in InitSyncNodeFromChromeId() local
277 if (sync_id == syncer::kInvalidId) in InitSyncNodeFromChromeId()
279 if (sync_node->InitByIdLookup(sync_id) != syncer::BaseNode::INIT_OK) in InitSyncNodeFromChromeId()
281 DCHECK(sync_node->GetId() == sync_id); in InitSyncNodeFromChromeId()
286 int64 sync_id) { in Associate() argument
289 DCHECK_NE(sync_id, syncer::kInvalidId); in Associate()
291 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate()
292 id_map_[node_id] = sync_id; in Associate()
[all …]
Dbookmark_model_associator.h80 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;
106 virtual bool GetSyncIdForTaggedNode(const std::string& tag, int64* sync_id);
Dsynced_tab_delegate_android.cc117 void SyncedTabDelegateAndroid::SetSyncId(int sync_id) { in SetSyncId() argument
118 tab_android_->SetSyncId(sync_id); in SetSyncId()
Dsynced_tab_delegate.h60 virtual void SetSyncId(int sync_id) = 0;
Dsynced_tab_delegate_android.h43 virtual void SetSyncId(int sync_id) OVERRIDE;
Dbookmark_change_processor.cc227 int64 sync_id = syncer::kInvalidId; in CreateOrUpdateSyncNode() local
231 sync_id = model_associator_->GetSyncIdFromChromeId(node->id()); in CreateOrUpdateSyncNode()
232 if (sync_id != syncer::kInvalidId) { in CreateOrUpdateSyncNode()
236 sync_id = CreateSyncNode(parent, in CreateOrUpdateSyncNode()
245 if (syncer::kInvalidId != sync_id) { in CreateOrUpdateSyncNode()
/external/chromium_org/chrome/browser/chromeos/login/supervised/
Dsupervised_user_password_browsertest.cc84 std::string sync_id = in IN_PROC_BROWSER_TEST_F() local
97 sync_id, supervised_users::kChromeOSPasswordData, password, true, false); in IN_PROC_BROWSER_TEST_F()
135 std::string sync_id = in IN_PROC_BROWSER_TEST_F() local
141 managed_user_proto.set_id(sync_id); in IN_PROC_BROWSER_TEST_F()
160 sync_id, supervised_users::kChromeOSPasswordData, password, true, false); in IN_PROC_BROWSER_TEST_F()
197 std::string sync_id = in IN_PROC_BROWSER_TEST_F() local
210 sync_id, supervised_users::kChromeOSPasswordData, password, true, false); in IN_PROC_BROWSER_TEST_F()
225 std::string sync_id = in IN_PROC_BROWSER_TEST_F() local
231 managed_user_proto.set_id(sync_id); in IN_PROC_BROWSER_TEST_F()
250 sync_id, supervised_users::kChromeOSPasswordData, password, true, false); in IN_PROC_BROWSER_TEST_F()
Dsupervised_user_creation_controller.h73 const std::string& sync_id,
83 const std::string& sync_id,
Dsupervised_user_creation_controller_new.cc100 const std::string& sync_id, in StartImport() argument
109 creation_context_->sync_user_id = sync_id; in StartImport()
118 const std::string& sync_id, in StartImport() argument
130 creation_context_->sync_user_id = sync_id; in StartImport()
Dsupervised_user_creation_controller_new.h67 const std::string& sync_id,
77 const std::string& sync_id,
/external/chromium_org/components/sync_driver/
Dmodel_associator.h77 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;
/external/chromium_org/tools/perf/page_sets/endure/
Dindexeddb_app_worker.js123 var sync_id = ++sync_count;
124 log('sync ' + sync_id + ' started');
127 log('sync ' + sync_id +
145 log('sync ' + sync_id + ' finished');
/external/chromium_org/sync/engine/
Dall_status.cc155 void AllStatus::SetSyncId(const std::string& sync_id) { in SetSyncId() argument
157 status_.sync_id = sync_id; in SetSyncId()
Dall_status.h66 void SetSyncId(const std::string& sync_id);
/external/chromium_org/chrome/browser/ui/sync/
Dtab_contents_synced_tab_delegate.cc119 void TabContentsSyncedTabDelegate::SetSyncId(int sync_id) { in SetSyncId() argument
120 sync_session_id_ = sync_id; in SetSyncId()
Dtab_contents_synced_tab_delegate.h42 virtual void SetSyncId(int sync_id) OVERRIDE;
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_bookmark_unittest.cc643 int64 sync_id) { in ExpectBrowserNodeMatching() argument
644 EXPECT_TRUE(sync_id); in ExpectBrowserNodeMatching()
646 model_associator_->GetChromeNodeFromSyncId(sync_id); in ExpectBrowserNodeMatching()
651 EXPECT_EQ(id, sync_id); in ExpectBrowserNodeMatching()
655 void ExpectBrowserNodeUnknown(int64 sync_id) { in ExpectBrowserNodeUnknown() argument
656 EXPECT_FALSE(model_associator_->GetChromeNodeFromSyncId(sync_id)); in ExpectBrowserNodeUnknown()
659 void ExpectBrowserNodeKnown(int64 sync_id) { in ExpectBrowserNodeKnown() argument
660 EXPECT_TRUE(model_associator_->GetChromeNodeFromSyncId(sync_id)); in ExpectBrowserNodeKnown()
664 int64 sync_id = model_associator_->GetSyncIdFromChromeId(node->id()); in ExpectSyncerNodeKnown() local
665 EXPECT_NE(sync_id, syncer::kInvalidId); in ExpectSyncerNodeKnown()
[all …]
Dabout_sync_util.cc230 StringSyncStat sync_id(section_identity, "Sync Client ID"); in ConstructAboutInformation() local
340 if (is_status_valid && !full_status.sync_id.empty()) in ConstructAboutInformation()
341 sync_id.SetValue(full_status.sync_id); in ConstructAboutInformation()
/external/chromium_org/chrome/browser/sync/sessions/
Dtab_node_pool_unittest.cc233 int sync_id = pool_.GetFreeTabNode(&changes); in TEST_F() local
234 pool_.AssociateTabNode(sync_id, i); in TEST_F()
235 used_sync_ids.push_back(sync_id); in TEST_F()
/external/chromium_org/sync/internal_api/public/engine/
Dsync_status.h83 std::string sync_id; member
/external/chromium_org/chrome/browser/chromeos/login/users/
Dfake_supervised_user_manager.cc39 const std::string& sync_id) const { in FindBySyncId()
Dfake_supervised_user_manager.h30 const std::string& sync_id) const OVERRIDE;
Dsupervised_user_manager.h83 const std::string& sync_id) const = 0;
Dsupervised_user_manager_impl.h36 const std::string& sync_id) const OVERRIDE;
/external/chromium_org/chrome/browser/android/
Dtab_android.h97 void SetSyncId(int sync_id);

12