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

Unified Diff: device/usb/public/cpp/device_manager_factory.h

Issue 1183443002: Reland: Introduce the devices Mojo app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn check... Created 5 years, 6 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 | « device/usb/public/cpp/device_manager_delegate.h ('k') | device/usb/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/public/cpp/device_manager_factory.h
diff --git a/device/usb/public/cpp/device_manager_factory.h b/device/usb/public/cpp/device_manager_factory.h
deleted file mode 100644
index 51f972702d664f81047096790759059fdfae1a9d..0000000000000000000000000000000000000000
--- a/device/usb/public/cpp/device_manager_factory.h
+++ /dev/null
@@ -1,34 +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 DEVICE_USB_PUBLIC_CPP_DEVICE_MANAGER_FACTORY_H_
-#define DEVICE_USB_PUBLIC_CPP_DEVICE_MANAGER_FACTORY_H_
-
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-#include "device/usb/public/interfaces/device_manager.mojom.h"
-#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h"
-
-namespace device {
-namespace usb {
-
-class DeviceManagerDelegate;
-
-// Public interface to construct an implementation of the DeviceManager service.
-class DeviceManagerFactory {
- public:
- // Builds a new DeviceManager instance to fulfill a request. The service is
- // bound to the lifetime of |request|'s MessagePipe, and it takes ownership of
- // |delegate|.
- static void Build(mojo::InterfaceRequest<DeviceManager> request,
- scoped_ptr<DeviceManagerDelegate> delegate);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(DeviceManagerFactory);
-};
-
-} // namespace usb
-} // namespace device
-
-#endif // DEVICE_USB_PUBLIC_CPP_DEVICE_MANAGER_FACTORY_H_
« no previous file with comments | « device/usb/public/cpp/device_manager_delegate.h ('k') | device/usb/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698