Index: device/usb/usb_device_filter.h |
diff --git a/device/usb/usb_device_filter.h b/device/usb/usb_device_filter.h |
index 05f403892fb22387c840fe50bf10939354f980ac..d70526427375bc6e0dce843660536284c4e55f62 100644 |
--- a/device/usb/usb_device_filter.h |
+++ b/device/usb/usb_device_filter.h |
@@ -7,10 +7,10 @@ |
#include <stdint.h> |
+#include <memory> |
#include <vector> |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
namespace base { |
class Value; |
@@ -33,7 +33,7 @@ class UsbDeviceFilter { |
void SetInterfaceProtocol(uint8_t interface_protocol); |
bool Matches(scoped_refptr<UsbDevice> device) const; |
- scoped_ptr<base::Value> ToValue() const; |
+ std::unique_ptr<base::Value> ToValue() const; |
static bool MatchesAny(scoped_refptr<UsbDevice> device, |
const std::vector<UsbDeviceFilter>& filters); |