Check Firewall state only initializing mDns from PrintPreview.
[chromium-blink-merge.git] / components / usb_service / usb_error.cc
blobd3e99601205a4c1384c96d811458588739419bdc
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 #include "components/usb_service/usb_error.h"
7 #include "third_party/libusb/src/libusb/libusb.h"
9 namespace usb_service {
11 std::string ConvertErrorToString(int errcode) {
12 return libusb_strerror(static_cast<libusb_error>(errcode));
15 } // namespace usb_service;