Home
last modified time | relevance | path

Searched refs:user_share (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/chrome/browser/sync/test/integration/
Denable_disable_test.cc32 bool DoesTopLevelNodeExist(syncer::UserShare* user_share, in DoesTopLevelNodeExist() argument
34 syncer::ReadTransaction trans(FROM_HERE, user_share); in DoesTopLevelNodeExist()
53 syncer::UserShare* user_share = GetClient(0)->service()->GetUserShare(); in IN_PROC_BROWSER_TEST_F() local
68 ASSERT_TRUE(DoesTopLevelNodeExist(user_share, it.Get())) in IN_PROC_BROWSER_TEST_F()
74 ASSERT_TRUE(DoesTopLevelNodeExist(user_share, in IN_PROC_BROWSER_TEST_F()
78 ASSERT_TRUE(DoesTopLevelNodeExist(user_share, in IN_PROC_BROWSER_TEST_F()
100 syncer::UserShare* user_share = GetClient(0)->service()->GetUserShare(); in IN_PROC_BROWSER_TEST_F() local
106 ASSERT_TRUE(DoesTopLevelNodeExist(user_share, it.Get())); in IN_PROC_BROWSER_TEST_F()
134 syncer::UserShare* user_share = in IN_PROC_BROWSER_TEST_F() local
137 ASSERT_FALSE(DoesTopLevelNodeExist(user_share, it.Get())) in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/sync/glue/
Dsynced_device_tracker_unittest.cc44 syncer::TestUserShare::CreateRoot(syncer::DEVICE_INFO, user_share()); in SetUp()
47 new SyncedDeviceTracker(user_share(), in SetUp()
48 user_share()->directory->cache_guid())); in SetUp()
54 synced_device_tracker_->Start(NULL, user_share()); in SetUp()
62 syncer::UserShare* user_share() { in user_share() function in browser_sync::SyncedDeviceTrackerTest
63 return test_user_share_.user_share(); in user_share()
113 user_share()->directory->cache_guid(), in TEST_F()
130 user_share()->directory->cache_guid(), in TEST_F()
159 user_share()->directory->cache_guid(), in TEST_F()
168 user_share()->directory->cache_guid(), in TEST_F()
Dgeneric_change_processor_unittest.cc46 test_user_share_.user_share()); in SetUp()
54 test_user_share_.user_share())); in SetUp()
62 syncer::WriteTransaction trans(FROM_HERE, user_share()); in BuildChildNodes()
76 syncer::UserShare* user_share() { in user_share() function in browser_sync::__anon88e582f10111::SyncGenericChangeProcessorTest
77 return test_user_share_.user_share(); in user_share()
157 syncer::ReadTransaction read_transaction(FROM_HERE, user_share()); in TEST_F()
228 syncer::ReadTransaction read_transaction(FROM_HERE, user_share()); in TEST_F()
Dsynced_device_tracker.cc28 SyncedDeviceTracker::SyncedDeviceTracker(syncer::UserShare* user_share, in SyncedDeviceTracker() argument
31 user_share_(user_share), in SyncedDeviceTracker()
/external/chromium/chrome/browser/sync/glue/
Dextension_sync.h42 sync_api::UserShare* user_share,
51 sync_api::UserShare* user_share,
63 sync_api::UserShare* user_share);
71 sync_api::UserShare* user_share,
77 sync_api::UserShare* user_share);
Dextension_sync.cc23 sync_api::UserShare* user_share, in RootNodeHasChildren() argument
27 sync_api::ReadTransaction trans(user_share); in RootNodeHasChildren()
135 sync_api::UserShare* user_share, in SlurpServerData() argument
137 sync_api::WriteTransaction trans(user_share); in SlurpServerData()
179 sync_api::UserShare* user_share, in SlurpExtensionData() argument
191 unsynced_extensions, user_share, extension_data_map)) { in SlurpExtensionData()
243 sync_api::UserShare* user_share) { in FlushExtensionData() argument
244 sync_api::WriteTransaction trans(user_share); in FlushExtensionData()
279 sync_api::UserShare* user_share, in UpdateServerData() argument
297 sync_api::WriteTransaction trans(user_share); in UpdateServerData()
[all …]
Dextension_model_associator.cc22 sync_api::UserShare* user_share) in ExtensionModelAssociator() argument
24 user_share_(user_share) { in ExtensionModelAssociator()
Dextension_model_associator.h29 sync_api::UserShare* user_share);
/external/chromium_org/sync/internal_api/
Dsync_encryption_handler_impl_unittest.cc92 new SyncEncryptionHandlerImpl(user_share(), in SetUpEncryption()
100 syncer::syncable::Directory* directory = user_share()->directory.get(); in CreateRootForType()
129 UserShare* user_share() { return test_user_share_.user_share(); } in user_share() function in syncer::SyncEncryptionHandlerImplTest
147 ReadTransaction trans(FROM_HERE, user_share()); in VerifyMigratedNigoriWithTimestamp()
240 WriteTransaction trans(FROM_HERE, user_share()); in InitKeystoreMigratedNigori()
273 WriteTransaction trans(FROM_HERE, user_share()); in InitCustomPassMigratedNigori()
310 WriteTransaction trans(FROM_HERE, user_share()); in InitUnmigratedNigori()
349 SyncEncryptionHandlerImpl handler2(user_share(), in TEST_F()
358 WriteTransaction trans(FROM_HERE, user_share()); in TEST_F()
387 WriteTransaction trans(FROM_HERE, user_share()); in TEST_F()
[all …]
Dsync_manager_impl_unittest.cc238 ReadTransaction trans(FROM_HERE, test_user_share_.user_share()); in TEST_F()
242 WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); in TEST_F()
247 ReadTransaction trans(FROM_HERE, test_user_share_.user_share()); in TEST_F()
256 ReadTransaction trans(FROM_HERE, test_user_share_.user_share()); in TEST_F()
262 ignore_result(MakeNode(test_user_share_.user_share(), in TEST_F()
266 ReadTransaction trans(FROM_HERE, test_user_share_.user_share()); in TEST_F()
280 WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); in TEST_F()
286 ignore_result(MakeNode(test_user_share_.user_share(), in TEST_F()
288 ignore_result(MakeNode(test_user_share_.user_share(), in TEST_F()
290 ignore_result(MakeNode(test_user_share_.user_share(), in TEST_F()
[all …]
/external/chromium/chrome/browser/sync/engine/
Dsyncapi_unittest.cc184 ReadTransaction trans(test_user_share_.user_share()); in TEST_F()
188 WriteTransaction trans(test_user_share_.user_share()); in TEST_F()
193 ReadTransaction trans(test_user_share_.user_share()); in TEST_F()
202 ReadTransaction trans(test_user_share_.user_share()); in TEST_F()
208 ignore_result(MakeNode(test_user_share_.user_share(), in TEST_F()
212 ReadTransaction trans(test_user_share_.user_share()); in TEST_F()
242 WriteTransaction trans(test_user_share_.user_share()); in TEST_F()
248 ignore_result(MakeNode(test_user_share_.user_share(), in TEST_F()
250 ignore_result(MakeNode(test_user_share_.user_share(), in TEST_F()
252 ignore_result(MakeNode(test_user_share_.user_share(), in TEST_F()
[all …]
/external/chromium_org/sync/internal_api/test/
Dsync_manager_for_profile_sync_test.cc22 UserShare* user_share = GetUserShare(); in NotifyInitializationSuccess() local
23 syncable::Directory* directory = user_share->directory.get(); in NotifyInitializationSuccess()
34 syncer::TestUserShare::CreateRoot(it.Get(), user_share); in NotifyInitializationSuccess()
Dtest_user_share.cc58 UserShare* TestUserShare::user_share() { in user_share() function in syncer::TestUserShare
71 bool TestUserShare::CreateRoot(ModelType model_type, UserShare* user_share) { in CreateRoot() argument
72 syncer::syncable::Directory* directory = user_share->directory.get(); in CreateRoot()
Dfake_sync_manager.cc99 UserShare* share = test_user_share_.user_share(); in Init()
218 return test_user_share_.user_share(); in GetUserShare()
222 return test_user_share_.user_share()->directory->cache_guid(); in cache_guid()
/external/chromium/chrome/browser/sync/
Dtest_profile_sync_service.cc177 UserShare* user_share = GetUserShare(); in SetInitialSyncEndedForEnabledTypes() local
178 DirectoryManager* dir_manager = user_share->dir_manager.get(); in SetInitialSyncEndedForEnabledTypes()
180 ScopedDirLookup dir(dir_manager, user_share->name); in SetInitialSyncEndedForEnabledTypes()
206 UserShare* user_share = GetUserShare(); in OnBackendInitialized() local
207 DirectoryManager* dir_manager = user_share->dir_manager.get(); in OnBackendInitialized()
209 ScopedDirLookup dir(dir_manager, user_share->name); in OnBackendInitialized()
Dprofile_sync_factory_impl.cc175 sync_api::UserShare* user_share = profile_sync_service->GetUserShare(); in CreateAppSyncComponents() local
177 new ExtensionModelAssociator(traits, extension_service, user_share); in CreateAppSyncComponents()
227 sync_api::UserShare* user_share = profile_sync_service->GetUserShare(); in CreateBookmarkSyncComponents() local
230 user_share, in CreateBookmarkSyncComponents()
246 sync_api::UserShare* user_share = profile_sync_service->GetUserShare(); in CreateExtensionSyncComponents() local
248 new ExtensionModelAssociator(traits, extension_service, user_share); in CreateExtensionSyncComponents()
Dabstract_profile_sync_service_test.cc67 ModelType model_type, UserShare* user_share, in CreateRoot() argument
69 DirectoryManager* dir_manager = user_share->dir_manager.get(); in CreateRoot()
71 ScopedDirLookup dir(dir_manager, user_share->name); in CreateRoot()
Djs_sync_manager_observer_unittest.cc222 MakeNode(test_user_share.user_share(), syncable::ModelTypeFromInt(i)); in TEST_F()
238 sync_api::ReadTransaction trans(test_user_share.user_share()); in TEST_F()
259 sync_api::ReadTransaction trans(test_user_share.user_share()); in TEST_F()
270 sync_api::ReadTransaction trans(test_user_share.user_share()); in TEST_F()
Dprofile_sync_service_bookmark_unittest.cc46 sync_api::UserShare* user_share, in TestBookmarkModelAssociator() argument
48 : BookmarkModelAssociator(bookmark_model, user_share, in TestBookmarkModelAssociator()
50 user_share_(user_share) {} in TestBookmarkModelAssociator()
319 test_user_share_.user_share(), in StartSync()
328 change_processor_->Start(&profile_, test_user_share_.user_share()); in StartSync()
401 sync_api::ReadTransaction trans(test_user_share_.user_share()); in ExpectSyncerNodeMatching()
480 sync_api::ReadTransaction trans(test_user_share_.user_share()); in ExpectModelMatch()
574 sync_api::WriteTransaction trans(test_user_share_.user_share()); in TEST_F()
663 sync_api::WriteTransaction trans(test_user_share_.user_share()); in TEST_F()
712 sync_api::WriteTransaction trans(test_user_share_.user_share()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/sync/
Dbackend_migrator.cc28 syncer::UserShare* user_share, in BackendMigrator() argument
32 : name_(name), user_share_(user_share), service_(service), in BackendMigrator()
126 syncer::ModelTypeSet GetUnsyncedDataTypes(syncer::UserShare* user_share) { in GetUnsyncedDataTypes() argument
127 syncer::ReadTransaction trans(FROM_HERE, user_share); in GetUnsyncedDataTypes()
Dprofile_sync_service_bookmark_unittest.cc406 syncer::ReadTransaction trans(FROM_HERE, test_user_share_.user_share()); in GetSyncBookmarkCount()
421 test_user_share_.user_share()); in CreatePermanentBookmarkNodes()
432 test_user_share_.user_share())) in CreatePermanentBookmarkNodes()
440 syncer::WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); in CreatePermanentBookmarkNodes()
485 test_user_share_.user_share(), in AssociateModels()
532 change_processor_->Start(&profile_, test_user_share_.user_share()); in StartSync()
620 syncer::ReadTransaction trans(FROM_HERE, test_user_share_.user_share()); in ExpectSyncerNodeMatching()
701 syncer::ReadTransaction trans(FROM_HERE, test_user_share_.user_share()); in ExpectModelMatch()
767 syncer::WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); in TEST_F()
848 syncer::WriteTransaction trans(FROM_HERE, test_user_share_.user_share()); in TEST_F()
[all …]
Dprofile_sync_components_factory_impl.cc347 syncer::UserShare* user_share = profile_sync_service->GetUserShare(); in CreateGenericChangeProcessor() local
351 user_share); in CreateGenericChangeProcessor()
468 syncer::UserShare* user_share = profile_sync_service->GetUserShare(); in CreateBookmarkSyncComponents() local
478 user_share, in CreateBookmarkSyncComponents()
Dbackend_migrator.h51 syncer::UserShare* user_share,
/external/chromium_org/sync/internal_api/public/test/
Dtest_user_share.h65 UserShare* user_share();
/external/chromium_org/sync/
Dsync_internal_api.gypi89 'internal_api/public/user_share.h',
115 'internal_api/user_share.cc',

12