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 |