Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index 4f0d7c6601cc9544c05ead5895a5704bc1a0b883..6295d19229988929f3be1c4f39f64f2a41c4bdd5 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -125,7 +125,6 @@ |
#include "content/renderer/shared_worker_repository.h" |
#include "content/renderer/skia_benchmarking_extension.h" |
#include "content/renderer/stats_collection_controller.h" |
-#include "content/renderer/usb/web_usb_client_impl.h" |
#include "content/renderer/web_frame_utils.h" |
#include "content/renderer/web_ui_extension.h" |
#include "content/renderer/websharedworker_proxy.h" |
@@ -161,7 +160,6 @@ |
#include "third_party/WebKit/public/platform/WebURLError.h" |
#include "third_party/WebKit/public/platform/WebURLResponse.h" |
#include "third_party/WebKit/public/platform/WebVector.h" |
-#include "third_party/WebKit/public/platform/modules/webusb/WebUSBClient.h" |
#include "third_party/WebKit/public/web/WebColorSuggestion.h" |
#include "third_party/WebKit/public/web/WebDocument.h" |
#include "third_party/WebKit/public/web/WebFindOptions.h" |
@@ -4285,16 +4283,6 @@ blink::WebBluetooth* RenderFrameImpl::bluetooth() { |
return bluetooth_.get(); |
} |
-blink::WebUSBClient* RenderFrameImpl::usbClient() { |
- if (!base::FeatureList::IsEnabled(features::kWebUsb)) |
- return nullptr; |
- |
- if (!usb_client_) |
- usb_client_.reset(new WebUSBClientImpl(GetServiceRegistry())); |
- |
- return usb_client_.get(); |
-} |
- |
#if defined(ENABLE_WEBVR) |
blink::WebVRClient* RenderFrameImpl::webVRClient() { |
if (!vr_dispatcher_) |