aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-services_device_usb_usb__service__fake.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-services_device_usb_usb__service__fake.h')
-rw-r--r--devel/electron33/files/patch-services_device_usb_usb__service__fake.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/devel/electron33/files/patch-services_device_usb_usb__service__fake.h b/devel/electron33/files/patch-services_device_usb_usb__service__fake.h
deleted file mode 100644
index 2e123db7f3be..000000000000
--- a/devel/electron33/files/patch-services_device_usb_usb__service__fake.h
+++ /dev/null
@@ -1,51 +0,0 @@
---- services/device/usb/usb_service_fake.h.orig 2022-10-29 13:32:26 UTC
-+++ services/device/usb/usb_service_fake.h
-@@ -0,0 +1,48 @@
-+// Copyright 2015 The Chromium Authors
-+// Use of this source code is governed by a BSD-style license that can be
-+// found in the LICENSE file.
-+
-+#ifndef SERVICES_DEVICE_USB_USB_SERVICE_IMPL_H_
-+#define SERVICES_DEVICE_USB_USB_SERVICE_IMPL_H_
-+
-+#include "services/device/usb/usb_service.h"
-+
-+#include <stddef.h>
-+
-+#include <map>
-+#include <set>
-+#include <string>
-+#include <vector>
-+
-+#include "base/containers/queue.h"
-+#include "base/memory/weak_ptr.h"
-+#include "build/build_config.h"
-+#include "services/device/usb/usb_context.h"
-+#include "services/device/usb/usb_device_impl.h"
-+#include "third_party/abseil-cpp/absl/types/optional.h"
-+
-+namespace device {
-+
-+class UsbDeviceImpl;
-+
-+class UsbServiceImpl final : public UsbService {
-+ public:
-+ UsbServiceImpl();
-+
-+ UsbServiceImpl(const UsbServiceImpl&) = delete;
-+ UsbServiceImpl& operator=(const UsbServiceImpl&) = delete;
-+
-+ ~UsbServiceImpl() override;
-+
-+ private:
-+ // device::UsbService implementation
-+ void GetDevices(GetDevicesCallback callback) override;
-+
-+ void OnUsbContext(scoped_refptr<UsbContext> context);
-+
-+ scoped_refptr<base::SequencedTaskRunner> task_runner_;
-+};
-+
-+} // namespace device
-+
-+#endif // SERVICES_DEVICE_USB_USB_SERVICE_IMPL_H_