| Index: chrome/browser/usb/web_usb_detector.cc
|
| diff --git a/components/webusb/webusb_detector.cc b/chrome/browser/usb/web_usb_detector.cc
|
| similarity index 90%
|
| rename from components/webusb/webusb_detector.cc
|
| rename to chrome/browser/usb/web_usb_detector.cc
|
| index 2ac3522c2c7a1cff6fb60ef5ce0764349ba95dd5..fef0368c408a7fc88f0ea8f139d9216df04d270f 100644
|
| --- a/components/webusb/webusb_detector.cc
|
| +++ b/chrome/browser/usb/web_usb_detector.cc
|
| @@ -2,15 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "components/webusb/webusb_detector.h"
|
| +#include "chrome/browser/usb/web_usb_detector.h"
|
|
|
| -#include "components/webusb/webusb_browser_client.h"
|
| +#include "chrome/browser/usb/web_usb_browser_client.h"
|
| #include "device/core/device_client.h"
|
| #include "device/usb/usb_device.h"
|
| #include "device/usb/usb_ids.h"
|
|
|
| -namespace webusb {
|
| -
|
| WebUsbDetector::WebUsbDetector(WebUsbBrowserClient* webusb_browser_client)
|
| : webusb_browser_client_(webusb_browser_client), observer_(this) {
|
| Initialize();
|
| @@ -52,5 +50,3 @@ void WebUsbDetector::OnDeviceRemoved(scoped_refptr<device::UsbDevice> device) {
|
| std::string notification_id = device->guid();
|
| webusb_browser_client_->OnDeviceRemoved(notification_id);
|
| }
|
| -
|
| -} // namespace webusb
|
|
|