Searched refs:ProfileSyncServiceHarness (Results 1 – 4 of 4) sorted by relevance
34 StateChangeTimeoutEvent(ProfileSyncServiceHarness* caller,54 ProfileSyncServiceHarness* caller_;63 ProfileSyncServiceHarness* caller, in StateChangeTimeoutEvent()88 ProfileSyncServiceHarness::ProfileSyncServiceHarness( in ProfileSyncServiceHarness() function in ProfileSyncServiceHarness109 ProfileSyncServiceHarness* ProfileSyncServiceHarness::CreateAndAttach( in CreateAndAttach()115 return new ProfileSyncServiceHarness(profile, "", "", 0); in CreateAndAttach()118 void ProfileSyncServiceHarness::SetCredentials(const std::string& username, in SetCredentials()124 bool ProfileSyncServiceHarness::IsSyncAlreadySetup() { in IsSyncAlreadySetup()128 bool ProfileSyncServiceHarness::SetupSync() { in SetupSync()137 bool ProfileSyncServiceHarness::SetupSync( in SetupSync()[all …]
30 class ProfileSyncServiceHarness : public ProfileSyncServiceObserver {32 ProfileSyncServiceHarness(Profile* profile,37 virtual ~ProfileSyncServiceHarness() {} in ~ProfileSyncServiceHarness()42 static ProfileSyncServiceHarness* CreateAndAttach(Profile* profile);70 ProfileSyncServiceHarness* partner, const std::string& reason);79 bool AwaitMutualSyncCycleCompletion(ProfileSyncServiceHarness* partner);86 std::vector<ProfileSyncServiceHarness*>& partners);93 std::vector<ProfileSyncServiceHarness*>& clients);192 bool MatchesOtherClient(ProfileSyncServiceHarness* partner);212 ProfileSyncServiceHarness* timestamp_match_partner_;[all …]
1128 scoped_ptr<ProfileSyncServiceHarness> sync_waiter_;
4065 sync_waiter_.reset(new ProfileSyncServiceHarness( in SignInToSync()4102 ProfileSyncServiceHarness::CreateAndAttach(browser->profile())); in GetSyncInfo()4137 ProfileSyncServiceHarness::CreateAndAttach(browser->profile())); in AwaitSyncCycleCompletion()4174 ProfileSyncServiceHarness::CreateAndAttach(browser->profile())); in EnableSyncForDatatypes()4226 ProfileSyncServiceHarness::CreateAndAttach(browser->profile())); in DisableSyncForDatatypes()