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

Unified Diff: device/core/device_client.h

Issue 2417043002: Move device/core files to device/base directory. (Closed)
Patch Set: Fix ChromeOS build Created 4 years, 2 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/core/BUILD.gn ('k') | device/core/device_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/core/device_client.h
diff --git a/device/core/device_client.h b/device/core/device_client.h
deleted file mode 100644
index 9fdc7f1ee3c3d58ab471bea02bc6c52aa2996657..0000000000000000000000000000000000000000
--- a/device/core/device_client.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 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_CORE_DEVICE_CLIENT_H_
-#define DEVICE_CORE_DEVICE_CLIENT_H_
-
-#include "base/macros.h"
-#include "device/core/device_core_export.h"
-
-namespace device {
-
-class HidService;
-class UsbService;
-
-// Interface used by consumers of //device APIs to get pointers to the service
-// singletons appropriate for a given embedding application. For an example see
-// //chrome/browser/chrome_device_client.h.
-class DEVICE_CORE_EXPORT DeviceClient {
- public:
- // Construction sets the single instance.
- DeviceClient();
-
- // Destruction clears the single instance.
- virtual ~DeviceClient();
-
- // Returns the single instance of |this|.
- static DeviceClient* Get();
-
- // Returns the UsbService instance for this embedder.
- virtual UsbService* GetUsbService();
-
- // Returns the HidService instance for this embedder.
- virtual HidService* GetHidService();
-
- private:
- DISALLOW_COPY_AND_ASSIGN(DeviceClient);
-};
-
-} // namespace device
-
-#endif // DEVICE_CORE_DEVICE_CLIENT_H_
« no previous file with comments | « device/core/BUILD.gn ('k') | device/core/device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698