Home
last modified time | relevance | path

Searched refs:GetSyncService (Results 1 – 25 of 36) 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 …]
Dsync_errors_test.cc96 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
102 ASSERT_TRUE(AwaitSyncDisabled(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
110 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
124 ActionableErrorChecker actionable_error_checker(GetSyncService((0))); in IN_PROC_BROWSER_TEST_F()
129 GetSyncService((0))->QueryDetailedSyncStatus(&status); in IN_PROC_BROWSER_TEST_F()
146 if (GetSyncService(0)->auto_start_enabled()) { in IN_PROC_BROWSER_TEST_F()
174 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
186 ASSERT_TRUE(AwaitSyncDisabled(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
188 GetSyncService((0))->QueryDetailedSyncStatus(&status); in IN_PROC_BROWSER_TEST_F()
201 GetSyncService((0))->GetPreferredDataTypes(); in IN_PROC_BROWSER_TEST_F()
[all …]
Dsingle_client_backup_rollback_test.cc116 BackupModeChecker checker(GetSyncService(0), in IN_PROC_BROWSER_TEST_F()
122 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
129 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
166 BackupModeChecker checker(GetSyncService(0), in IN_PROC_BROWSER_TEST_F()
171 GetSyncService(0)->StartStopBackupForTesting(); in IN_PROC_BROWSER_TEST_F()
175 GetSyncService(0)->StartStopBackupForTesting(); in IN_PROC_BROWSER_TEST_F()
183 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
223 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
233 BackupModeChecker checker(GetSyncService(0), in IN_PROC_BROWSER_TEST_F()
257 BackupModeChecker checker(GetSyncService(0), 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))));
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()
Denable_disable_test.cc42 GetSyncService((0))->GetRegisteredDataTypes(); in IN_PROC_BROWSER_TEST_F()
43 syncer::UserShare* user_share = GetSyncService((0))->GetUserShare(); in IN_PROC_BROWSER_TEST_F()
81 GetSyncService((0))->GetRegisteredDataTypes(); in IN_PROC_BROWSER_TEST_F()
83 syncer::UserShare* user_share = GetSyncService((0))->GetUserShare(); in IN_PROC_BROWSER_TEST_F()
120 GetSyncService((0))->GetUserShare(); 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()
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()
Dmigration_test.cc185 DCHECK(GetSyncService((0))); in GetPreferredDataTypes()
187 GetSyncService((0))->GetPreferredDataTypes(); in GetPreferredDataTypes()
192 GetSyncService((i))->GetPreferredDataTypes(); in GetPreferredDataTypes()
Dsingle_client_app_list_sync_test.cc74 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
Dtwo_client_themes_sync_test.cc218 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0))));
245 AwaitCommitActivityCompletion(GetSyncService((0))));
Dtwo_client_extensions_sync_test.cc263 AwaitCommitActivityCompletion(GetSyncService((0)))); in IN_PROC_BROWSER_TEST_F()
283 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.cc314 ProfileSyncService* service = GetSyncService(); in DisplayConfigureSync()
444 ProfileSyncService* service = GetSyncService(); in ConfigureSyncDone()
565 ProfileSyncService* service = GetSyncService(); in PrepareSyncSetup()
617 ProfileSyncService* service = GetSyncService(); in SyncStartupCompleted()
630 ProfileSyncService* SyncSetupHandler::GetSyncService() const { in GetSyncService() function in SyncSetupHandler
658 ProfileSyncService* service = GetSyncService(); in HandleConfigure()
755 if (!GetSyncService()) { in HandleShowSetupUI()
807 if (GetSyncService()) in HandleStopSyncing()
831 ProfileSyncService* sync_service = GetSyncService(); in CloseSyncSetup()
907 if (!GetSyncService()) { in OpenSyncSetup()
Dsync_setup_handler.h100 ProfileSyncService* GetSyncService() const;

12