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

Unified Diff: chrome/browser/usb/usb_device.cc

Issue 10824298: Adding tests for USB extension API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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: chrome/browser/usb/usb_device.cc
diff --git a/chrome/browser/usb/usb_device.cc b/chrome/browser/usb/usb_device.cc
index d6bba6126759b6a4c38959668891cffeba249055..24e440dded20e12e807e126105d2430be63e7d51 100644
--- a/chrome/browser/usb/usb_device.cc
+++ b/chrome/browser/usb/usb_device.cc
@@ -99,6 +99,8 @@ UsbDevice::UsbDevice(UsbService* service, PlatformUsbDeviceHandle handle)
DCHECK(handle) << "Cannot create device with NULL handle.";
}
+UsbDevice::UsbDevice() : service_(NULL), handle_(NULL) {}
+
UsbDevice::~UsbDevice() {}
void UsbDevice::Close() {

Powered by Google App Engine
This is Rietveld 408576698