Home
last modified time | relevance | path

Searched refs:sync_service (Results 1 – 25 of 117) sorted by relevance

12345

/external/chromium_org/chrome/browser/chromeos/login/
Dauth_sync_observer.cc30 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/
Ddrive_file_sync_service_unittest.cc91 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/
Dsync_file_system_internals_handler.cc31 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/
Dpassword_generation_manager_unittest.cc115 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()
Dpassword_generation_manager.cc96 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/
Dextension_sync_event_observer.cc30 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/
Dsync_internals_ui.cc82 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/
Dtheme_data_type_controller.cc14 ProfileSyncService* sync_service) in ThemeDataTypeController() argument
18 sync_service) { in ThemeDataTypeController()
Dextension_data_type_controller.cc18 ProfileSyncService* sync_service) in ExtensionDataTypeController() argument
22 sync_service) { in ExtensionDataTypeController()
Dsearch_engine_data_type_controller.cc21 ProfileSyncService* sync_service) in SearchEngineDataTypeController() argument
25 sync_service) { in SearchEngineDataTypeController()
Dpassword_data_type_controller.cc24 ProfileSyncService* sync_service) in PasswordDataTypeController() argument
27 sync_service) { in PasswordDataTypeController()
/external/chromium/chrome/browser/sync/glue/
Dautofill_profile_data_type_controller.cc15 ProfileSyncService* sync_service) : AutofillDataTypeController( in AutofillProfileDataTypeController() argument
18 sync_service) {} in AutofillProfileDataTypeController()
Dpreference_data_type_controller.cc15 ProfileSyncService* sync_service) in PreferenceDataTypeController() argument
18 sync_service) { in PreferenceDataTypeController()
Dtheme_data_type_controller.cc16 ProfileSyncService* sync_service) in ThemeDataTypeController() argument
19 sync_service) { in ThemeDataTypeController()
Dapp_data_type_controller.cc16 ProfileSyncService* sync_service) in AppDataTypeController() argument
19 sync_service) { in AppDataTypeController()
Dextension_data_type_controller.cc16 ProfileSyncService* sync_service) in ExtensionDataTypeController() argument
19 sync_service) { in ExtensionDataTypeController()
Dsession_data_type_controller.cc15 ProfileSyncService* sync_service) in SessionDataTypeController() argument
18 sync_service) { in SessionDataTypeController()
Dfrontend_data_type_controller.cc26 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/
Dpersonal_options_handler.cc64 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/
Done_click_signin_helper_unittest.cc312 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/
Dsync_setup_handler.cc788 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()
Dsync_internals_ui.cc84 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/
Dsync_process_runner.h28 SyncFileSystemService* sync_service);
40 SyncFileSystemService* sync_service() { return sync_service_; } in sync_service() function
Dsync_process_runner.cc47 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/
Dsession_data_type_controller2.cc19 ProfileSyncService* sync_service) in SessionDataTypeController2() argument
23 sync_service) { in SessionDataTypeController2()

12345