Searched refs:UsbService (Results 1 – 7 of 7) sorted by relevance
40 explicit ExitObserver(UsbService* service) : service_(service) { in ExitObserver()59 UsbService* service_;67 UsbService::UsbService(PlatformUsbContext context) in UsbService() function in UsbService75 UsbService::~UsbService() { in ~UsbService()82 struct InitUsbContextTraits : public LeakySingletonTraits<UsbService> {84 static UsbService* New() { in New()90 return new UsbService(context); in New()94 UsbService* UsbService::GetInstance() { in GetInstance()97 return Singleton<UsbService, InitUsbContextTraits>::get(); in GetInstance()100 void UsbService::GetDevices(std::vector<scoped_refptr<UsbDevice> >* devices) { in GetDevices()[all …]
36 class UsbService {43 static UsbService* GetInstance();54 friend struct DefaultSingletonTraits<UsbService>;55 friend class base::DeleteHelper<UsbService>;57 explicit UsbService(PlatformUsbContext context);58 virtual ~UsbService();78 DISALLOW_COPY_AND_ASSIGN(UsbService);
27 friend class UsbService;
59 friend class UsbService;
208 UsbService* service = UsbService::GetInstance(); in CountOnFileThread()232 UsbService* service = UsbService::GetInstance(); in EnumerateOnFileThread()
425 UsbService* service = UsbService::GetInstance(); in GetDeviceOrOrCompleteWithError()561 UsbService *service = UsbService::GetInstance(); in AsyncWorkStart()649 UsbService* service = UsbService::GetInstance(); in AsyncWorkStart()
22 class UsbService; variable