| Index: components/usb_service/usb_service.cc
|
| diff --git a/chrome/browser/usb/usb_service.cc b/components/usb_service/usb_service.cc
|
| similarity index 95%
|
| rename from chrome/browser/usb/usb_service.cc
|
| rename to components/usb_service/usb_service.cc
|
| index 591645743866e7113d937430a5fa4e69d43847e3..318caa189e802bad828bcbe802db81f7637e535a 100644
|
| --- a/chrome/browser/usb/usb_service.cc
|
| +++ b/components/usb_service/usb_service.cc
|
| @@ -2,18 +2,20 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/usb/usb_service.h"
|
| +#include "components/usb_service/usb_service.h"
|
|
|
| #include <set>
|
| #include <vector>
|
|
|
| #include "base/lazy_instance.h"
|
| #include "base/stl_util.h"
|
| -#include "chrome/browser/usb/usb_context.h"
|
| -#include "chrome/browser/usb/usb_device.h"
|
| +#include "components/usb_service/usb_context.h"
|
| +#include "components/usb_service/usb_device.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "third_party/libusb/src/libusb/libusb.h"
|
|
|
| +namespace usb_service {
|
| +
|
| namespace {
|
|
|
| base::LazyInstance<scoped_ptr<UsbService> >::Leaky g_usb_service_instance =
|
| @@ -120,3 +122,5 @@ void UsbService::RefreshDevices() {
|
|
|
| libusb_free_device_list(platform_devices, true);
|
| }
|
| +
|
| +} // namespace usb_service
|
|
|