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

Unified Diff: chrome/browser/usb/web_usb_chooser_service.h

Issue 1739523002: WebUsb Android chooser UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated comments Created 4 years, 10 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/web_usb_chooser_service.h
diff --git a/chrome/browser/usb/web_usb_chooser_service.h b/chrome/browser/usb/web_usb_chooser_service.h
index e0cffe526697ee3e674cfc60ca51fd14468a881c..853a6615343269c5c8605c7749aac1afa4f61e06 100644
--- a/chrome/browser/usb/web_usb_chooser_service.h
+++ b/chrome/browser/usb/web_usb_chooser_service.h
@@ -14,6 +14,11 @@
#include "mojo/public/cpp/bindings/binding_set.h"
#include "mojo/public/cpp/bindings/interface_request.h"
+#if defined(OS_ANDROID)
+#include "base/memory/scoped_ptr.h"
+class UsbChooserAndroid;
+#endif // defined(OS_ANDROID)
+
namespace content {
class RenderFrameHost;
}
@@ -42,6 +47,10 @@ class WebUsbChooserService : public device::usb::ChooserService {
mojo::BindingSet<device::usb::ChooserService> bindings_;
std::vector<BubbleReference> bubbles_;
+#if defined(OS_ANDROID)
+ scoped_ptr<UsbChooserAndroid> usb_chooser_android_;
+#endif // defined(OS_ANDROID)
Reilly Grant (use Gerrit) 2016/03/03 01:57:56 It seems like there should just be an Android vers
juncai 2016/03/04 01:36:39 Done.
+
DISALLOW_COPY_AND_ASSIGN(WebUsbChooserService);
};

Powered by Google App Engine
This is Rietveld 408576698