Home
last modified time | relevance | path

Searched refs:SyncData (Results 1 – 25 of 82) sorted by relevance

1234

/external/chromium_org/sync/api/
Dsync_data.cc42 void SyncData::ImmutableSyncEntityTraits::InitializeWrapper(Wrapper* wrapper) { in InitializeWrapper()
46 void SyncData::ImmutableSyncEntityTraits::DestroyWrapper(Wrapper* wrapper) { in DestroyWrapper()
50 const sync_pb::SyncEntity& SyncData::ImmutableSyncEntityTraits::Unwrap( in Unwrap()
55 sync_pb::SyncEntity* SyncData::ImmutableSyncEntityTraits::UnwrapMutable( in UnwrapMutable()
60 void SyncData::ImmutableSyncEntityTraits::Swap(sync_pb::SyncEntity* t1, in Swap()
65 SyncData::SyncData() : id_(kInvalidId), is_valid_(false) {} in SyncData() function in syncer::SyncData
67 SyncData::SyncData(int64 id, in SyncData() function in syncer::SyncData
77 SyncData::~SyncData() {} in ~SyncData()
80 SyncData SyncData::CreateLocalDelete(const std::string& sync_tag, in CreateLocalDelete()
88 SyncData SyncData::CreateLocalData(const std::string& sync_tag, in CreateLocalData()
[all …]
Dsync_data.h37 class SYNC_EXPORT SyncData {
40 SyncData();
41 ~SyncData();
59 static SyncData CreateLocalDelete(
62 static SyncData CreateLocalData(
66 static SyncData CreateLocalDataWithAttachments(
73 static SyncData CreateRemoteData(
146 SyncData(int64 id,
153 class SYNC_EXPORT SyncDataLocal : public SyncData {
158 explicit SyncDataLocal(const SyncData& sync_data);
[all …]
Dsync_data_unittest.cc48 SyncData data; in TEST_F()
53 SyncData data = SyncData::CreateLocalDelete(kSyncTag, kDatatype); in TEST_F()
62 SyncData data = in TEST_F()
63 SyncData::CreateLocalData(kSyncTag, kNonUniqueTitle, specifics); in TEST_F()
79 SyncData data = SyncData::CreateLocalDataWithAttachments( in TEST_F()
94 SyncData data = SyncData::CreateLocalDataWithAttachments( in TEST_F()
107 SyncData data = SyncData::CreateRemoteData(kId, in TEST_F()
Dsync_change.h38 const SyncData& sync_data);
53 SyncData sync_data() const;
70 SyncData sync_data_;
Dsync_change_unittest.cc37 SyncData::CreateLocalDelete(tag, PREFERENCES)); in TEST_F()
52 SyncData::CreateLocalData(tag, title, specifics)); in TEST_F()
72 SyncData::CreateLocalData(tag, title, specifics)); in TEST_F()
94 SyncData::CreateRemoteData( in TEST_F()
108 SyncData::CreateRemoteData( in TEST_F()
122 SyncData::CreateRemoteData( in TEST_F()
/external/chromium_org/chrome/browser/extensions/
Dapp_sync_data_unittest.cc47 syncer::SyncData sync_data = in TEST_F()
48 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity); in TEST_F()
69 syncer::SyncData sync_data = in TEST_F()
70 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity); in TEST_F()
73 syncer::SyncData output_sync_data = app_sync_data.GetSyncData(); in TEST_F()
91 syncer::SyncData sync_data = in TEST_F()
92 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity); in TEST_F()
Dextension_sync_data_unittest.cc35 syncer::SyncData sync_data = in TEST_F()
36 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity); in TEST_F()
60 syncer::SyncData sync_data = in TEST_F()
61 syncer::SyncData::CreateLocalData("sync_tag", "non_unique_title", entity); in TEST_F()
64 syncer::SyncData output_sync_data = extension_sync_data.GetSyncData(); in TEST_F()
Dextension_sync_data.h15 class SyncData; variable
30 explicit ExtensionSyncData(const syncer::SyncData& sync_data);
39 syncer::SyncData GetSyncData() const;
72 void PopulateFromSyncData(const syncer::SyncData& sync_data);
Dapp_sync_data.h14 class SyncData; variable
30 explicit AppSyncData(const syncer::SyncData& sync_data);
42 syncer::SyncData GetSyncData() const;
80 void PopulateFromSyncData(const syncer::SyncData& sync_data);
Dapp_sync_data.cc17 AppSyncData::AppSyncData(const syncer::SyncData& sync_data) { in AppSyncData()
49 syncer::SyncData AppSyncData::GetSyncData() const { in GetSyncData()
53 return syncer::SyncData::CreateLocalData(extension_sync_data_.id(), in GetSyncData()
106 void AppSyncData::PopulateFromSyncData(const syncer::SyncData& sync_data) { in PopulateFromSyncData()
Dextension_sync_data.cc27 ExtensionSyncData::ExtensionSyncData(const syncer::SyncData& sync_data) in ExtensionSyncData()
64 syncer::SyncData ExtensionSyncData::GetSyncData() const { in GetSyncData()
68 return syncer::SyncData::CreateLocalData(id_, name_, specifics); in GetSyncData()
120 const syncer::SyncData& sync_data) { in PopulateFromSyncData()
/external/chromium_org/components/sync_driver/
Ddevice_info_sync_service.h54 syncer::SyncData CreateLocalData(const DeviceInfo* info);
56 static syncer::SyncData CreateLocalData(
60 static DeviceInfo* CreateDeviceInfo(const syncer::SyncData sync_data);
63 const syncer::SyncData& sync_data);
72 bool UpdateBackupTime(syncer::SyncData* sync_data);
97 typedef std::map<std::string, syncer::SyncData> SyncDataMap;
Ddevice_info_sync_service.cc19 using syncer::SyncData;
114 SyncData local_data = CreateLocalData(local_device_info); in MergeDataAndStartSyncing()
169 const SyncData& sync_data = iter->sync_data(); in ProcessSyncChanges()
246 syncer::SyncData& data = iter->second; in UpdateLocalDeviceBackupTime()
258 bool DeviceInfoSyncService::UpdateBackupTime(syncer::SyncData* sync_data) { in UpdateBackupTime()
283 SyncData DeviceInfoSyncService::CreateLocalData(const DeviceInfo* info) { in CreateLocalData()
301 SyncData DeviceInfoSyncService::CreateLocalData( in CreateLocalData()
308 return SyncData::CreateLocalData( in CreateLocalData()
313 const syncer::SyncData sync_data) { in CreateDeviceInfo()
326 const SyncData& sync_data) { in StoreSyncData()
/external/chromium_org/chrome/browser/sync/glue/
Dfavicon_cache_unittest.cc619 initial_image_data.push_back(syncer::SyncData::CreateRemoteData( in TEST_F()
627 initial_tracking_data.push_back(syncer::SyncData::CreateRemoteData( in TEST_F()
698 initial_image_data.push_back(syncer::SyncData::CreateRemoteData( in TEST_F()
706 initial_tracking_data.push_back(syncer::SyncData::CreateRemoteData( in TEST_F()
783 initial_image_data.push_back(syncer::SyncData::CreateRemoteData( in TEST_F()
791 initial_tracking_data.push_back(syncer::SyncData::CreateRemoteData( in TEST_F()
848 initial_image_data.push_back(syncer::SyncData::CreateRemoteData( in TEST_F()
859 syncer::SyncData::CreateRemoteData( in TEST_F()
867 initial_tracking_data.push_back(syncer::SyncData::CreateRemoteData( in TEST_F()
903 syncer::SyncData::CreateRemoteData( in TEST_F()
[all …]
Dfavicon_cache.h163 const syncer::SyncData& sync_favicon) const;
167 void MergeSyncFavicon(const syncer::SyncData& sync_favicon,
171 void AddLocalFaviconFromSyncedData(const syncer::SyncData& sync_favicon);
175 syncer::SyncData CreateSyncDataFromLocalFavicon(
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_shared_settings_service.cc28 using syncer::SyncData;
70 SyncData CreateSyncDataForValue( in CreateSyncDataForValue()
76 return SyncData(); in CreateSyncDataForValue()
80 return SyncData(); in CreateSyncDataForValue()
118 SyncData data = CreateSyncDataForSetting(su_id, key, value, acknowledged); in SetValueInternal()
170 SyncData SupervisedUserSharedSettingsService::CreateSyncDataForSetting( in CreateSyncDataForSetting()
184 return SyncData::CreateLocalData(title, title, specifics); in CreateSyncDataForSetting()
248 SyncData data = CreateSyncDataForValue(it.key(), jt.key(), jt.value()); in MergeDataAndStartSyncing()
296 SyncData data = it->sync_data(); in ProcessSyncChanges()
/external/chromium_org/chrome/browser/extensions/api/storage/
Dsetting_sync_data.h14 class SyncData; variable
31 explicit SettingSyncData(const syncer::SyncData& sync_data);
77 const syncer::SyncData& sync_data);
/external/chromium_org/components/dom_distiller/core/
Darticle_entry.cc55 std::string GetEntryIdFromSyncData(const syncer::SyncData& data) { in GetEntryIdFromSyncData()
63 syncer::SyncData CreateLocalData(const ArticleEntry& entry) { in CreateLocalData()
66 return syncer::SyncData::CreateLocalData(entry_id, entry_id, specifics); in CreateLocalData()
Darticle_entry.h32 std::string GetEntryIdFromSyncData(const syncer::SyncData& data);
33 syncer::SyncData CreateLocalData(const ArticleEntry& entry);
/external/chromium_org/chrome/browser/extensions/api/synced_notifications_private/
Dsynced_notifications_shim.cc75 syncer::SyncData sync_data = in BuildNewSyncUpdate()
76 syncer::SyncData::CreateLocalData(tag, tag, specifics); in BuildNewSyncUpdate()
106 std::vector<linked_ptr<synced_notifications_private::SyncData> >* in PopulateJSDataListFromSync()
109 linked_ptr<synced_notifications_private::SyncData> js_data( in PopulateJSDataListFromSync()
110 new synced_notifications_private::SyncData()); in PopulateJSDataListFromSync()
196 std::vector<linked_ptr<synced_notifications_private::SyncData> >* in GetInitialData()
Dsynced_notifications_shim_unittest.cc21 syncer::SyncData BuildData(syncer::ModelType type, const std::string& key) { in BuildData()
32 syncer::SyncData data = syncer::SyncData::CreateLocalData( in BuildData()
40 syncer::SyncData data = BuildData(type, key); in BuildChange()
46 testing::AssertionResult DataSpecificsMatch(const syncer::SyncData& data, in DataSpecificsMatch()
272 std::vector<linked_ptr<synced_notifications_private::SyncData> > data; in TEST_F()
307 syncer::SyncData data = in TEST_F()
/external/chromium_org/chrome/browser/sync/sessions/
Dsessions_sync_manager_unittest.cc41 using syncer::SyncData;
177 syncer::SyncData::CreateRemoteData( in MakeRemoteChange()
197 syncer::SyncData::CreateRemoteData( in AddTabsToChangeList()
211 list->push_back(SyncData::CreateRemoteData( in AddTabsToSyncDataList()
770 const SyncData data(out[0].sync_data()); in TEST_F()
783 const SyncData data_2(out[1].sync_data()); in TEST_F()
793 SyncData d(SyncData::CreateRemoteData( in TEST_F()
837 SyncData t0(SyncData::CreateRemoteData( in TEST_F()
845 SyncData t1(SyncData::CreateRemoteData( in TEST_F()
851 SyncData t2(SyncData::CreateRemoteData( in TEST_F()
[all …]
Dsessions_sync_manager.cc31 using syncer::SyncData;
128 syncer::SyncData data = syncer::SyncData::CreateLocalData( in MergeDataAndStartSyncing()
260 syncer::SyncData data = syncer::SyncData::CreateLocalData( in AssociateWindows()
318 syncer::SyncData data = syncer::SyncData::CreateLocalData( in AssociateTab()
437 syncer::SyncData data = syncer::SyncData::CreateLocalData( in GetAllSyncData()
456 syncer::SyncData data = syncer::SyncData::CreateLocalData( in GetAllSyncData()
545 SyncData::CreateLocalDelete( in TombstoneTab()
565 const syncer::SyncData& data = *it; in InitFromSyncModel()
807 SyncData::CreateLocalDelete(tag, syncer::SESSIONS))); in DeleteForeignSessionInternal()
815 SyncData::CreateLocalDelete(TabNodePool::TabIdToTag(tag, *it), in DeleteForeignSessionInternal()
[all …]
/external/chromium_org/chrome/browser/chromeos/login/supervised/
Dsupervised_user_test_base.cc76 const syncer::SyncData& data = processor_->changes().front().sync_data(); in GetFirstChange()
89 syncer::SyncData change_data = syncer::SyncData::CreateRemoteData( in AddChange()
125 const syncer::SyncData& data = processor_->changes().front().sync_data(); in GetFirstChange()
138 syncer::SyncData change_data = syncer::SyncData::CreateRemoteData( in AddChange()
161 syncer::SyncData data = in AddChange()
/external/chromium_org/chrome/browser/prefs/
Dpref_model_associator.cc29 const sync_pb::PreferenceSpecifics& GetSpecifics(const syncer::SyncData& pref) { in GetSpecifics()
100 const syncer::SyncData& sync_pref, in InitPrefAndAssociate()
145 syncer::SyncData sync_data; in InitPrefAndAssociate()
174 syncer::SyncData old_sync_data; in InitPrefAndAssociate()
198 syncer::SyncData sync_data; in InitPrefAndAssociate()
277 InitPrefAndAssociate(syncer::SyncData(), *pref_name_iter, &new_changes, in MergeDataAndStartSyncing()
338 syncer::SyncData* sync_data) const { in CreatePrefSyncData()
359 *sync_data = syncer::SyncData::CreateLocalData(name, name, specifics); in CreatePrefSyncData()
451 syncer::SyncData sync_data; in GetAllSyncData()
605 InitPrefAndAssociate(syncer::SyncData(), name, &changes, NULL); in ProcessPrefChange()
[all …]

1234