diff options
Diffstat (limited to 'chromium/components/autofill/core/browser/test_sync_service.cc')
-rw-r--r-- | chromium/components/autofill/core/browser/test_sync_service.cc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/chromium/components/autofill/core/browser/test_sync_service.cc b/chromium/components/autofill/core/browser/test_sync_service.cc index c1680e26a38..2f42009a83e 100644 --- a/chromium/components/autofill/core/browser/test_sync_service.cc +++ b/chromium/components/autofill/core/browser/test_sync_service.cc @@ -30,10 +30,6 @@ syncer::ModelTypeSet TestSyncService::GetActiveDataTypes() const { return data_types_; } -bool TestSyncService::IsEngineInitialized() const { - return is_engine_initialized_; -} - bool TestSyncService::IsFirstSetupComplete() const { return true; } @@ -42,6 +38,10 @@ bool TestSyncService::IsUsingSecondaryPassphrase() const { return is_using_secondary_passphrase_; } +bool TestSyncService::IsAuthenticatedAccountPrimary() const { + return is_authenticated_account_primary_; +} + const GoogleServiceAuthError& TestSyncService::GetAuthError() const { return auth_error_; } @@ -73,6 +73,10 @@ syncer::SyncTokenStatus TestSyncService::GetSyncTokenStatus() const { return token; } +AccountInfo TestSyncService::GetAuthenticatedAccountInfo() const { + return account_info_; +} + void TestSyncService::SetInAuthError(bool is_in_auth_error) { is_in_auth_error_ = is_in_auth_error; |