Home | History | Annotate | Download | only in webui

Lines Matching refs:service

296   ProfileSyncService* service = GetSyncService();
297 DCHECK(service);
298 if (!service->sync_initialized()) {
299 service->UnsuppressAndStart();
320 DCHECK(service->sync_initialized()) <<
338 service->GetRegisteredDataTypes();
340 service->GetPreferredDataTypes();
355 args.SetBoolean("encryptAllData", service->EncryptEverythingEnabled());
360 args.SetBoolean("showPassphrase", service->IsPassphraseRequired());
365 service->GetPassphraseType() == syncer::CUSTOM_PASSPHRASE);
366 base::Time passphrase_time = service->GetExplicitPassphraseTime();
367 syncer::PassphraseType passphrase_type = service->GetPassphraseType();
425 ProfileSyncService* service = GetSyncService();
426 DCHECK(service);
427 if (!service->HasSyncSetupCompleted()) {
434 service->SetSetupInProgress(false);
435 service->SetSyncSetupCompleted();
442 LoginUIService* service = GetLoginUIService();
443 return service && (service->current_login_ui() == this);
532 ProfileSyncService* service = GetSyncService();
533 if (service)
534 service->SetSetupInProgress(true);
584 ProfileSyncService* service = GetSyncService();
585 DCHECK(service->sync_initialized());
625 ProfileSyncService* service = GetSyncService();
629 if (!service || !service->sync_initialized()) {
642 service->OnStopSyncingPermanently();
643 service->SetSetupInProgress(false);
652 service->EnableEncryptEverything();
659 if (service->IsPassphraseRequired()) {
665 !service->SetDecryptionPassphrase(configuration.passphrase);
672 !service->IsUsingSecondaryPassphrase()) {
675 service->SetEncryptionPassphrase(configuration.passphrase,
682 service->IsPassphraseRequiredForDecryption();
683 service->OnUserChoseDatatypes(configuration.sync_everything,
690 if (passphrase_failed || service->IsPassphraseRequiredForDecryption()) {
722 ProfileSyncService* service = GetSyncService();
723 DCHECK(service);
828 // Alert the sync service anytime the sync setup dialog is closed. This can
900 LoginUIService* service = GetLoginUIService();
901 DCHECK(service);
902 return service->current_login_ui() != NULL;
909 LoginUIService* service = GetLoginUIService();
910 DCHECK(service);
911 service->current_login_ui()->FocusUI();