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

Unified Diff: services/device/fingerprint/fingerprint_impl_default.cc

Issue 2664353002: Host fingerprint mojo service within the device service. (Closed)
Patch Set: comments Created 3 years, 10 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 | « services/device/fingerprint/fingerprint_impl_chromeos_unittest.cc ('k') | services/device/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/device/fingerprint/fingerprint_impl_default.cc
diff --git a/services/device/fingerprint/fingerprint_impl_default.cc b/services/device/fingerprint/fingerprint_impl_default.cc
new file mode 100644
index 0000000000000000000000000000000000000000..bd1ffb4386a3ba9892325b4ea4d77199e26a60d8
--- /dev/null
+++ b/services/device/fingerprint/fingerprint_impl_default.cc
@@ -0,0 +1,27 @@
+// Copyright 2017 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.
+
+#include "services/device/fingerprint/fingerprint.h"
+#include "services/device/public/interfaces/fingerprint.mojom.h"
+
+namespace device {
+
+namespace {
+
+// An empty implementation of Fingerprint.
+// Used on platforms where a real implementation is not available.
+class FingerprintImplDefault : public Fingerprint {
+ public:
+ explicit FingerprintImplDefault() {}
+ ~FingerprintImplDefault() {}
+};
+
+} // namespace
+
+// static
+void Fingerprint::Create(device::mojom::FingerprintRequest request) {
+ // Do nothing.
+}
+
+} // namespace device
« no previous file with comments | « services/device/fingerprint/fingerprint_impl_chromeos_unittest.cc ('k') | services/device/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698