// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "services/device/public/cpp/usb/usb_ids.h" #include <stdlib.h> namespace device { namespace { static int CompareVendors(const void* a, const void* b) { … } static int CompareProducts(const void* a, const void* b) { … } } // namespace const UsbVendor* UsbIds::FindVendor(uint16_t vendor_id) { … } const char* UsbIds::GetVendorName(uint16_t vendor_id) { … } const char* UsbIds::GetProductName(uint16_t vendor_id, uint16_t product_id) { … } } // namespace device