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

Unified Diff: components/usb_service/usb_interface.cc

Issue 258783002: Extracted UsbService as interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed style in manifests. Created 6 years, 8 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
Index: components/usb_service/usb_interface.cc
diff --git a/components/usb_service/usb_interface.cc b/components/usb_service/usb_interface.cc
index 67f1a9d5aa06cedd4e54fe6d91884813d82b6f33..5f404ec10c3e550235ee4e7b6a15b18532ceb323 100644
--- a/components/usb_service/usb_interface.cc
+++ b/components/usb_service/usb_interface.cc
@@ -149,6 +149,11 @@ UsbConfigDescriptor::UsbConfigDescriptor(PlatformUsbConfigDescriptor config)
: config_(config) {
}
+// TODO(zvorygin): Used for tests only. Should be removed when
+// all interfaces are extracted properly.
+UsbConfigDescriptor::UsbConfigDescriptor() {
+}
+
UsbConfigDescriptor::~UsbConfigDescriptor() {
if (config_ != NULL) {
libusb_free_config_descriptor(config_);

Powered by Google App Engine
This is Rietveld 408576698