Searched refs:integration_service (Results 1 – 9 of 9) sorted by relevance
24 drive::DriveIntegrationService* integration_service) in DriveMountPointWaiter() argument25 : integration_service_(integration_service) { in DriveMountPointWaiter()62 drive::DriveIntegrationService* integration_service = in WaitUntilDriveMountPointIsAdded() local65 DCHECK(integration_service); in WaitUntilDriveMountPointIsAdded()66 DCHECK(integration_service->is_enabled()); in WaitUntilDriveMountPointIsAdded()68 if (integration_service->IsMounted()) in WaitUntilDriveMountPointIsAdded()71 DriveMountPointWaiter mount_point_waiter(integration_service); in WaitUntilDriveMountPointIsAdded()
32 drive::DriveIntegrationService* integration_service = in IN_PROC_BROWSER_TEST_F() local36 EXPECT_TRUE(integration_service); in IN_PROC_BROWSER_TEST_F()37 EXPECT_TRUE(integration_service->is_enabled()); in IN_PROC_BROWSER_TEST_F()42 EXPECT_EQ(integration_service, in IN_PROC_BROWSER_TEST_F()45 EXPECT_FALSE(integration_service->is_enabled()); in IN_PROC_BROWSER_TEST_F()
135 DriveIntegrationService* integration_service = in GetFileSystemByProfile() local137 return integration_service ? integration_service->file_system() : NULL; in GetFileSystemByProfile()154 DriveIntegrationService* integration_service = in GetDriveAppRegistryByProfile() local156 return integration_service ? in GetDriveAppRegistryByProfile()157 integration_service->drive_app_registry() : in GetDriveAppRegistryByProfile()164 DriveIntegrationService* integration_service = in GetDriveServiceByProfile() local166 return integration_service ? integration_service->drive_service() : NULL; in GetDriveServiceByProfile()
184 void set_integration_service(DriveIntegrationService* integration_service) { in set_integration_service() argument185 integration_service_ = integration_service; in set_integration_service()
292 DriveIntegrationService* integration_service = in Shutdown() local295 if (integration_service) { in Shutdown()296 integration_service->file_system()->RemoveObserver(this); in Shutdown()297 integration_service->drive_service()->RemoveObserver(this); in Shutdown()298 integration_service->job_list()->RemoveObserver(this); in Shutdown()325 DriveIntegrationService* integration_service = in ObserveFileSystemEvents() local328 if (integration_service) { in ObserveFileSystemEvents()329 integration_service->drive_service()->AddObserver(this); in ObserveFileSystemEvents()330 integration_service->file_system()->AddObserver(this); in ObserveFileSystemEvents()331 integration_service->job_list()->AddObserver(this); in ObserveFileSystemEvents()
325 drive::DriveIntegrationService* integration_service = in RunImpl() local327 if (!integration_service || !integration_service->IsMounted()) in RunImpl()331 drive::JobListInterface* job_list = integration_service->job_list(); in RunImpl()
416 drive::DriveIntegrationService* integration_service = in OnPageLoaded() local419 if (!integration_service) in OnPageLoaded()423 integration_service->drive_service(); in OnPageLoaded()426 integration_service->debug_info_collector(); in OnPageLoaded()436 UpdateInFlightOperationsSection(integration_service->job_list()); in OnPageLoaded()595 drive::DriveIntegrationService* integration_service = in ReloadDriveFileSystem() local597 if (integration_service) { in ReloadDriveFileSystem()598 integration_service->ClearCacheAndRemountFileSystem( in ReloadDriveFileSystem()869 drive::DriveIntegrationService* integration_service = in OnPeriodicUpdate() local872 if (!integration_service) in OnPeriodicUpdate()[all …]
776 DriveIntegrationService* integration_service = in CancelDriveOperation() local778 if (!integration_service) in CancelDriveOperation()781 integration_service->job_list()->CancelJob(operation_id); in CancelDriveOperation()786 DriveIntegrationService* integration_service = in GetDriveOperationStatusList() local788 if (!integration_service) in GetDriveOperationStatusList()792 integration_service->job_list()->GetJobInfoList()); in GetDriveOperationStatusList()946 DriveIntegrationService* integration_service = in ObserveDriveUpdates() local948 if (integration_service) in ObserveDriveUpdates()949 integration_service->job_list()->AddObserver(this); in ObserveDriveUpdates()953 DriveIntegrationService* integration_service = in UnobserveDriveUpdates() local[all …]
206 drive::DriveIntegrationService* integration_service = in DownloadPath() local208 if (!integration_service || !integration_service->is_enabled()) in DownloadPath()