/external/chromium_org/chrome/browser/chromeos/login/ |
D | auth_sync_observer.cc | 30 ProfileSyncService* sync_service = in StartObserving() local 32 if (sync_service) in StartObserving() 33 sync_service->AddObserver(this); in StartObserving() 37 ProfileSyncService* sync_service = in Shutdown() local 39 if (sync_service) in Shutdown() 40 sync_service->RemoveObserver(this); in Shutdown() 46 ProfileSyncService* sync_service = in OnStateChanged() local 50 sync_service->GetAuthError().state(); in OnStateChanged() 59 << sync_service->GetAuthError().ToString(); in OnStateChanged()
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/ |
D | drive_file_sync_service_unittest.cc | 91 DriveFileSyncService* sync_service() { return sync_service_.get(); } in sync_service() function in sync_file_system::DriveFileSyncServiceTest 93 return &(sync_service()->pending_batch_sync_origins_); in pending_batch_sync_origins() 172 sync_service()->UninstallOrigin( in TEST_F() 202 sync_service()->UninstallOrigin( in TEST_F() 225 sync_service()->UninstallOrigin( in TEST_F() 248 sync_service()->DisableOrigin(origin, base::Bind(&ExpectOkStatus)); in TEST_F() 261 sync_service()->DisableOrigin(origin, base::Bind(&ExpectOkStatus)); in TEST_F() 277 sync_service()->EnableOrigin(origin, base::Bind(&ExpectOkStatus)); in TEST_F() 284 sync_service()->GetOriginStatusMap(&origin_status_map); in TEST_F() 295 sync_service()->GetOriginStatusMap(&origin_status_map); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/webui/sync_file_system_internals/ |
D | sync_file_system_internals_handler.cc | 31 sync_file_system::SyncFileSystemService* sync_service = in SyncFileSystemInternalsHandler() local 33 DCHECK(sync_service); in SyncFileSystemInternalsHandler() 34 sync_service->AddSyncEventObserver(this); in SyncFileSystemInternalsHandler() 38 sync_file_system::SyncFileSystemService* sync_service = in ~SyncFileSystemInternalsHandler() local 40 if (sync_service != NULL) in ~SyncFileSystemInternalsHandler() 41 sync_service->RemoveSyncEventObserver(this); in ~SyncFileSystemInternalsHandler()
|
/external/chromium_org/chrome/browser/password_manager/ |
D | password_generation_manager_unittest.cc | 115 ProfileSyncService* sync_service = ProfileSyncServiceFactory::GetForProfile( in TEST_F() local 117 sync_service->SetSyncSetupCompleted(); in TEST_F() 120 sync_service->ChangePreferredDataTypes(preferred_set); in TEST_F() 134 sync_service->ChangePreferredDataTypes(preferred_set); in TEST_F() 138 sync_service->DisableForUser(); in TEST_F() 149 ProfileSyncService* sync_service = ProfileSyncServiceFactory::GetForProfile( in TEST_F() local 151 sync_service->SetSyncSetupCompleted(); in TEST_F()
|
D | password_generation_manager.cc | 96 ProfileSyncService* sync_service = in IsGenerationEnabled() local 98 if (sync_service) { in IsGenerationEnabled() 99 syncer::ModelTypeSet sync_set = sync_service->GetActiveDataTypes(); in IsGenerationEnabled() 100 password_sync_enabled = (sync_service->HasSyncSetupCompleted() && in IsGenerationEnabled()
|
/external/chromium_org/chrome/browser/extensions/api/sync_file_system/ |
D | extension_sync_event_observer.cc | 30 sync_file_system::SyncFileSystemService* sync_service) { in InitializeForService() argument 31 DCHECK(sync_service); in InitializeForService() 33 DCHECK_EQ(sync_service_, sync_service); in InitializeForService() 36 sync_service_ = sync_service; in InitializeForService()
|
/external/chromium/chrome/browser/ui/webui/ |
D | sync_internals_ui.cc | 82 ProfileSyncService* sync_service = GetProfile()->GetProfileSyncService(); in GetJsFrontend() local 83 return sync_service ? sync_service->GetJsFrontend() : NULL; in GetJsFrontend()
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | theme_data_type_controller.cc | 14 ProfileSyncService* sync_service) in ThemeDataTypeController() argument 18 sync_service) { in ThemeDataTypeController()
|
D | extension_data_type_controller.cc | 18 ProfileSyncService* sync_service) in ExtensionDataTypeController() argument 22 sync_service) { in ExtensionDataTypeController()
|
D | search_engine_data_type_controller.cc | 21 ProfileSyncService* sync_service) in SearchEngineDataTypeController() argument 25 sync_service) { in SearchEngineDataTypeController()
|
D | password_data_type_controller.cc | 24 ProfileSyncService* sync_service) in PasswordDataTypeController() argument 27 sync_service) { in PasswordDataTypeController()
|
/external/chromium/chrome/browser/sync/glue/ |
D | autofill_profile_data_type_controller.cc | 15 ProfileSyncService* sync_service) : AutofillDataTypeController( in AutofillProfileDataTypeController() argument 18 sync_service) {} in AutofillProfileDataTypeController()
|
D | preference_data_type_controller.cc | 15 ProfileSyncService* sync_service) in PreferenceDataTypeController() argument 18 sync_service) { in PreferenceDataTypeController()
|
D | theme_data_type_controller.cc | 16 ProfileSyncService* sync_service) in ThemeDataTypeController() argument 19 sync_service) { in ThemeDataTypeController()
|
D | app_data_type_controller.cc | 16 ProfileSyncService* sync_service) in AppDataTypeController() argument 19 sync_service) { in AppDataTypeController()
|
D | extension_data_type_controller.cc | 16 ProfileSyncService* sync_service) in ExtensionDataTypeController() argument 19 sync_service) { in ExtensionDataTypeController()
|
D | session_data_type_controller.cc | 15 ProfileSyncService* sync_service) in SessionDataTypeController() argument 18 sync_service) { in SessionDataTypeController()
|
D | frontend_data_type_controller.cc | 26 ProfileSyncService* sync_service) in FrontendDataTypeController() argument 29 sync_service_(sync_service), in FrontendDataTypeController() 34 DCHECK(sync_service); in FrontendDataTypeController()
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | personal_options_handler.cc | 64 ProfileSyncService* sync_service = in ~PersonalOptionsHandler() local 66 if (sync_service) in ~PersonalOptionsHandler() 67 sync_service->RemoveObserver(this); in ~PersonalOptionsHandler() 362 ProfileSyncService* sync_service = in Initialize() local 364 if (sync_service) { in Initialize() 365 sync_service->AddObserver(this); in Initialize() 369 SyncSetupFlow::GetArgsForConfigure(sync_service, &args); in Initialize()
|
/external/chromium_org/chrome/browser/ui/sync/ |
D | one_click_signin_helper_unittest.cc | 312 ProfileSyncServiceMock* sync_service = static_cast<ProfileSyncServiceMock*>( in CreateProfileSyncServiceMock() local 316 EXPECT_CALL(*sync_service, FirstSetupInProgress()).WillRepeatedly( in CreateProfileSyncServiceMock() 318 EXPECT_CALL(*sync_service, sync_initialized()).WillRepeatedly(Return(true)); in CreateProfileSyncServiceMock() 319 EXPECT_CALL(*sync_service, GetAuthError()). in CreateProfileSyncServiceMock() 321 EXPECT_CALL(*sync_service, sync_initialized()).WillRepeatedly(Return(false)); in CreateProfileSyncServiceMock() 322 sync_service->Initialize(); in CreateProfileSyncServiceMock() 323 return sync_service; in CreateProfileSyncServiceMock() 680 ProfileSyncServiceMock* sync_service = CreateProfileSyncServiceMock(); in TEST_F() local 681 EXPECT_CALL(*sync_service, AddObserver(_)).Times(AtLeast(1)); in TEST_F() 682 EXPECT_CALL(*sync_service, RemoveObserver(_)).Times(AtLeast(1)); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | sync_setup_handler.cc | 788 ProfileSyncService* sync_service = GetSyncService(); in CloseSyncSetup() local 792 if (!sync_service || (!sync_service->HasSyncSetupCompleted() && in CloseSyncSetup() 793 sync_service->GetAuthError().state() == GoogleServiceAuthError::NONE)) { in CloseSyncSetup() 804 if (sync_service) { in CloseSyncSetup() 806 sync_service->OnStopSyncingPermanently(); in CloseSyncSetup() 811 if (sync_service->FirstSetupInProgress()) in CloseSyncSetup() 823 if (sync_service) in CloseSyncSetup() 824 sync_service->SetSetupInProgress(false); in CloseSyncSetup()
|
D | sync_internals_ui.cc | 84 ProfileSyncService* sync_service = GetProfileSyncService(profile); in SyncInternalsUI() local 85 if (sync_service) { in SyncInternalsUI() 86 js_controller_ = sync_service->GetJsController(); in SyncInternalsUI()
|
/external/chromium_org/chrome/browser/sync_file_system/ |
D | sync_process_runner.h | 28 SyncFileSystemService* sync_service); 40 SyncFileSystemService* sync_service() { return sync_service_; } in sync_service() function
|
D | sync_process_runner.cc | 47 SyncFileSystemService* sync_service) in SyncProcessRunner() argument 49 sync_service_(sync_service), in SyncProcessRunner() 106 return sync_service()->GetSyncServiceState(); in GetServiceState()
|
/external/chromium_org/chrome/browser/sync/sessions2/ |
D | session_data_type_controller2.cc | 19 ProfileSyncService* sync_service) in SessionDataTypeController2() argument 23 sync_service) { in SessionDataTypeController2()
|