Index: device/usb/usb_device_filter.h |
diff --git a/device/usb/usb_device_filter.h b/device/usb/usb_device_filter.h |
index 6525f8fdd81196ccd18e7797aae135b0fa8be53f..a40c859683327128f10be9db7e31f23815ab3435 100644 |
--- a/device/usb/usb_device_filter.h |
+++ b/device/usb/usb_device_filter.h |
@@ -8,6 +8,7 @@ |
#include <vector> |
#include "base/memory/ref_counted.h" |
+#include "base/memory/scoped_ptr.h" |
namespace base { |
class Value; |
@@ -29,7 +30,7 @@ class UsbDeviceFilter { |
void SetInterfaceProtocol(uint8 interface_protocol); |
bool Matches(scoped_refptr<UsbDevice> device) const; |
- base::Value* ToValue() const; |
+ scoped_ptr<base::Value> ToValue() const; |
static bool MatchesAny(scoped_refptr<UsbDevice> device, |
const std::vector<UsbDeviceFilter>& filters); |