Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: device/usb/usb_error.cc

Issue 497363004: Merge components/usb_service into device/usb. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/usb/usb_error.h ('k') | device/usb/usb_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_error.cc
diff --git a/components/usb_service/usb_error.cc b/device/usb/usb_error.cc
similarity index 65%
rename from components/usb_service/usb_error.cc
rename to device/usb/usb_error.cc
index d3e99601205a4c1384c96d811458588739419bdc..9fadb162edea7329dc842707412ec67ef8a6e00e 100644
--- a/components/usb_service/usb_error.cc
+++ b/device/usb/usb_error.cc
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/usb_service/usb_error.h"
+#include "device/usb/usb_error.h"
#include "third_party/libusb/src/libusb/libusb.h"
-namespace usb_service {
+namespace device {
-std::string ConvertErrorToString(int errcode) {
+std::string ConvertPlatformUsbErrorToString(int errcode) {
return libusb_strerror(static_cast<libusb_error>(errcode));
}
-} // namespace usb_service;
+} // namespace device
« no previous file with comments | « device/usb/usb_error.h ('k') | device/usb/usb_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698