Add a silent audio sink to consume WebAudio data on silence detection.
[chromium-blink-merge.git] / device / usb / usb_error.h
blob590c450cac6d04833d1338aa2d65303368d2ad53
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef DEVICE_USB_USB_ERROR_H_
6 #define DEVICE_USB_USB_ERROR_H_
8 #include <string>
10 namespace device {
12 // A number of libusb functions which return a member of enum libusb_error
13 // return an int instead so for convenience this function takes an int.
14 std::string ConvertPlatformUsbErrorToString(int errcode);
16 } // namespace device
18 #endif // DEVICE_USB_USB_ERROR_H_