Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: device/usb/usb_device_filter.h

Issue 1123093003: Add a manifest property declaring USB printers supported by an app. (Closed) Base URL:
Patch Set: Fix interfaceProtocol documentation. Created 5 years, 7 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_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);
« no previous file with comments | « chrome/common/extensions/docs/templates/public/apps/manifest/usb_printers.html ('k') | device/usb/ » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698