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

Unified Diff: components/webusb/webusb_detector.h

Issue 2146663002: Move //components/webusb/ to //chrome/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merged web_usb_browser_client.* to web_usb_detector.* Created 4 years, 5 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
« no previous file with comments | « components/webusb/webusb_browser_client.h ('k') | components/webusb/webusb_detector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webusb/webusb_detector.h
diff --git a/components/webusb/webusb_detector.h b/components/webusb/webusb_detector.h
deleted file mode 100644
index cbf5a62ebf6ac8e45cda81ec364e9ff76f1eed2b..0000000000000000000000000000000000000000
--- a/components/webusb/webusb_detector.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_WEBUSB_WEBUSB_DETECTOR_H_
-#define COMPONENTS_WEBUSB_WEBUSB_DETECTOR_H_
-
-#include "base/macros.h"
-#include "base/scoped_observer.h"
-#include "device/usb/usb_service.h"
-
-namespace device {
-class UsbDevice;
-}
-
-namespace webusb {
-
-class UsbDevice;
-class WebUsbBrowserClient;
-
-class WebUsbDetector : public device::UsbService::Observer {
- public:
- explicit WebUsbDetector(WebUsbBrowserClient* webusb_browser_client);
-
- ~WebUsbDetector() override;
-
- private:
- // Initializes the WebUsbDetector.
- void Initialize();
-
- // UsbService::observer override:
- void OnDeviceAdded(scoped_refptr<device::UsbDevice> device) override;
-
- // UsbService::observer override:
- void OnDeviceRemoved(scoped_refptr<device::UsbDevice> device) override;
-
- WebUsbBrowserClient* webusb_browser_client_ = nullptr;
-
- ScopedObserver<device::UsbService, device::UsbService::Observer> observer_;
-
- DISALLOW_COPY_AND_ASSIGN(WebUsbDetector);
-};
-
-} // namespace webusb
-
-#endif // COMPONENTS_WEBUSB_WEBUSB_DETECTOR_H_
« no previous file with comments | « components/webusb/webusb_browser_client.h ('k') | components/webusb/webusb_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698