Home
last modified time | relevance | path

Searched refs:GetSyncService (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/chrome/browser/sync/test/integration/
Dmultiple_client_passwords_sync_test.cc64 ASSERT_TRUE(AwaitPassphraseAccepted(GetSyncService(0))); in IN_PROC_BROWSER_TEST_F()
69 ASSERT_TRUE(AwaitPassphraseRequired(GetSyncService(1))); in IN_PROC_BROWSER_TEST_F()
73 ASSERT_TRUE(AwaitPassphraseRequired(GetSyncService(2))); in IN_PROC_BROWSER_TEST_F()
77 ASSERT_TRUE(AwaitPassphraseAccepted(GetSyncService(1))); in IN_PROC_BROWSER_TEST_F()
79 ASSERT_TRUE(AwaitPassphraseAccepted(GetSyncService(2))); in IN_PROC_BROWSER_TEST_F()
82 GetSyncService(1)->SetSyncSetupCompleted(); in IN_PROC_BROWSER_TEST_F()
83 GetSyncService(1)->SetSetupInProgress(false); in IN_PROC_BROWSER_TEST_F()
84 GetSyncService(2)->SetSyncSetupCompleted(); in IN_PROC_BROWSER_TEST_F()
85 GetSyncService(2)->SetSetupInProgress(false); in IN_PROC_BROWSER_TEST_F()
100 ASSERT_TRUE(AwaitPassphraseAccepted(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
[all …]
Dsync_auth_test.cc88 TestForAuthError checker_(GetSyncService((0))); in AttemptToTriggerAuthError()
92 GetSyncService((0))->GetSyncTokenStatus().last_get_token_error; in AttemptToTriggerAuthError()
144 GetSyncService((0))->IsRetryingAccessTokenFetchForTest()); in IN_PROC_BROWSER_TEST_F()
160 GetSyncService((0))->IsRetryingAccessTokenFetchForTest()); in IN_PROC_BROWSER_TEST_F()
175 GetSyncService((0))->IsRetryingAccessTokenFetchForTest()); in IN_PROC_BROWSER_TEST_F()
190 GetSyncService((0))->IsRetryingAccessTokenFetchForTest()); in IN_PROC_BROWSER_TEST_F()
206 GetSyncService((0))->GetAuthError().state()); in IN_PROC_BROWSER_TEST_F()
221 ASSERT_TRUE(GetSyncService((0))->IsRetryingAccessTokenFetchForTest()); in IN_PROC_BROWSER_TEST_F()
235 ASSERT_TRUE(GetSyncService((0))->IsRetryingAccessTokenFetchForTest()); in IN_PROC_BROWSER_TEST_F()
250 ASSERT_FALSE(GetSyncService((0))->sync_initialized()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dsingle_client_backup_rollback_test.cc170 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService(0))); in IN_PROC_BROWSER_TEST_F()
176 ASSERT_EQ(backup_time, GetSyncService(0)->GetDeviceBackupTimeForTesting()); in IN_PROC_BROWSER_TEST_F()
190 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService(0))); in IN_PROC_BROWSER_TEST_F()
196 ASSERT_TRUE(GetSyncService(0)->GetDeviceBackupTimeForTesting().is_null()); in IN_PROC_BROWSER_TEST_F()
225 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService(0))); in IN_PROC_BROWSER_TEST_F()
232 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService(0))); in IN_PROC_BROWSER_TEST_F()
242 SyncRollbackChecker rollback_checker(GetSyncService(0)); in IN_PROC_BROWSER_TEST_F()
244 SyncBackendStoppedChecker shutdown_checker(GetSyncService(0)); in IN_PROC_BROWSER_TEST_F()
279 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService(0))); in IN_PROC_BROWSER_TEST_F()
286 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
[all …]
Dsync_errors_test.cc121 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
127 ASSERT_TRUE(AwaitSyncDisabled(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
135 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
149 ActionableErrorChecker actionable_error_checker(GetSyncService((0))); in IN_PROC_BROWSER_TEST_F()
154 GetSyncService((0))->QueryDetailedSyncStatus(&status); in IN_PROC_BROWSER_TEST_F()
171 if (GetSyncService(0)->auto_start_enabled()) { in IN_PROC_BROWSER_TEST_F()
199 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
211 ASSERT_TRUE(AwaitSyncDisabled(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
213 GetSyncService((0))->QueryDetailedSyncStatus(&status); in IN_PROC_BROWSER_TEST_F()
224 GetSyncService((0))->GetActiveDataTypes(); in IN_PROC_BROWSER_TEST_F()
[all …]
Dsync_exponential_backoff_test.cc71 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
82 GetSyncService((0))); in IN_PROC_BROWSER_TEST_F()
90 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
99 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
110 GetSyncService((0))); in IN_PROC_BROWSER_TEST_F()
Dsingle_client_typed_urls_sync_test.cc45 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
65 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
85 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
90 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
111 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
116 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
Dsingle_client_themes_sync_test.cc45 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
64 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0))));
71 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0))));
85 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0))));
92 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0))));
Denable_disable_test.cc47 GetSyncService(0)->GetRegisteredDataTypes(); in IN_PROC_BROWSER_TEST_F()
48 syncer::UserShare* user_share = GetSyncService(0)->GetUserShare(); in IN_PROC_BROWSER_TEST_F()
50 GetSyncService(0)->data_type_status_table(); in IN_PROC_BROWSER_TEST_F()
89 GetSyncService(0)->GetRegisteredDataTypes(); in IN_PROC_BROWSER_TEST_F()
91 syncer::UserShare* user_share = GetSyncService(0)->GetUserShare(); in IN_PROC_BROWSER_TEST_F()
94 GetSyncService(0)->data_type_status_table(); in IN_PROC_BROWSER_TEST_F()
136 GetSyncService(0)->GetUserShare(); in IN_PROC_BROWSER_TEST_F()
Dsingle_client_bookmarks_sync_test.cc95 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
126 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
138 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
161 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
178 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
233 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
283 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
288 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
Dsingle_client_apps_sync_test.cc69 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
83 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
105 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
Dsingle_client_dictionary_sync_test.cc28 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
32 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
Dtwo_client_passwords_sync_test.cc88 ASSERT_TRUE(AwaitPassphraseAccepted(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
90 ASSERT_TRUE(AwaitPassphraseRequired(GetSyncService((1)))); in IN_PROC_BROWSER_TEST_F()
92 ASSERT_TRUE(AwaitPassphraseAccepted(GetSyncService((1)))); in IN_PROC_BROWSER_TEST_F()
Dsingle_client_search_engines_sync_test.cc28 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
Dcross_platform_sync_test.cc31 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
Dsingle_client_preferences_sync_test.cc28 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
Dmigration_test.cc94 DCHECK(GetSyncService((0))); in GetPreferredDataTypes()
96 GetSyncService((0))->GetPreferredDataTypes(); in GetPreferredDataTypes()
106 GetSyncService((i))->GetPreferredDataTypes(); in GetPreferredDataTypes()
Dsingle_client_passwords_sync_test.cc40 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
Dsingle_client_extensions_sync_test.cc55 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
Dsingle_client_app_list_sync_test.cc74 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/sync/
Done_click_signin_sync_observer.cc35 ProfileSyncService* sync_service = GetSyncService(web_contents); in OneClickSigninSyncObserver()
55 ProfileSyncService* sync_service = GetSyncService(web_contents()); in WebContentsDestroyed()
63 ProfileSyncService* sync_service = GetSyncService(web_contents()); in OnStateChanged()
102 ProfileSyncService* OneClickSigninSyncObserver::GetSyncService( in GetSyncService() function in OneClickSigninSyncObserver
Done_click_signin_sync_observer.h44 ProfileSyncService* GetSyncService(content::WebContents* web_contents);
/external/chromium_org/chrome/browser/ui/webui/
Dsync_setup_handler.cc316 ProfileSyncService* service = GetSyncService(); in DisplayConfigureSync()
449 ProfileSyncService* service = GetSyncService(); in ConfigureSyncDone()
570 ProfileSyncService* service = GetSyncService(); in PrepareSyncSetup()
622 ProfileSyncService* service = GetSyncService(); in SyncStartupCompleted()
635 ProfileSyncService* SyncSetupHandler::GetSyncService() const { in GetSyncService() function in SyncSetupHandler
663 ProfileSyncService* service = GetSyncService(); in HandleConfigure()
766 if (!GetSyncService()) { in HandleShowSetupUI()
818 if (GetSyncService()) in HandleStopSyncing()
842 ProfileSyncService* sync_service = GetSyncService(); in CloseSyncSetup()
917 if (!GetSyncService()) { in OpenSyncSetup()
/external/chromium_org/chrome/browser/sync_file_system/
Dsync_process_runner.h51 virtual SyncFileSystemService* GetSyncService() = 0;
87 SyncFileSystemService* GetSyncService();
Dsync_file_system_service.cc153 GetSyncService()->local_service_->ProcessLocalChange( in StartSync()
165 GetSyncService()->RunForEachSyncRunners(&SyncProcessRunner::Schedule); in OnLocalChangeAvailable()
214 GetSyncService()->RunForEachSyncRunners(&SyncProcessRunner::Schedule); in OnRemoteChangeQueueUpdated()
221 GetSyncService()->OnRemoteServiceStateUpdated(state, description); in OnRemoteServiceStateUpdated()
236 GetSyncService()->local_service_->RegisterURLForWaitingSync( in DidProcessRemoteChange()
428 SyncFileSystemService* SyncFileSystemService::GetSyncService() { in GetSyncService() function in sync_file_system::SyncFileSystemService
Dsync_process_runner.cc166 SyncFileSystemService* SyncProcessRunner::GetSyncService() { in GetSyncService() function in sync_file_system::SyncProcessRunner
167 return client_->GetSyncService(); in GetSyncService()

12