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

Unified Diff: device/usb/usb_device_handle_usbfs.h

Issue 1917053003: unique_ptr_migration: clean up references to scoped_ptr as of r389721 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: device/usb/usb_device_handle_usbfs.h
diff --git a/device/usb/usb_device_handle_usbfs.h b/device/usb/usb_device_handle_usbfs.h
index 793ac9ebfe4dbb15695675b6e1ed5eb364dd1aa3..0c22bdab3fc52e2bf5f87ee93326105ab1feb28e 100644
--- a/device/usb/usb_device_handle_usbfs.h
+++ b/device/usb/usb_device_handle_usbfs.h
@@ -7,10 +7,10 @@
#include <list>
#include <map>
+#include <memory>
#include <vector>
#include "base/files/scoped_file.h"
-#include "base/memory/scoped_ptr.h"
#include "device/usb/usb_device_handle.h"
struct usbdevfs_urb;
@@ -113,7 +113,7 @@ class UsbDeviceHandleUsbfs : public UsbDeviceHandle {
unsigned int timeout,
const IsochronousTransferCallback& callback);
void ReapedUrbs(const std::vector<usbdevfs_urb*>& urbs);
- void TransferComplete(scoped_ptr<Transfer> transfer);
+ void TransferComplete(std::unique_ptr<Transfer> transfer);
void RefreshEndpointInfo();
void ReportIsochronousError(
const std::vector<uint32_t>& packet_lengths,

Powered by Google App Engine
This is Rietveld 408576698