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

Side by Side Diff: services/device/fingerprint/fingerprint_impl_default.cc

Issue 2664353002: Host fingerprint mojo service within the device service. (Closed)
Patch Set: incorporate comments and rebase 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "services/device/fingerprint/fingerprint_impl_default.h"
6
7 #include "mojo/public/cpp/bindings/strong_binding.h"
8 #include "services/device/fingerprint/fingerprint.h"
9
10 namespace device {
11
12 FingerprintImplDefault::FingerprintImplDefault() {}
13
14 FingerprintImplDefault::~FingerprintImplDefault() {}
15
16 void FingerprintImplDefault::GetFingerprintsList(
17 const GetFingerprintsListCallback& callback) {}
18
19 void FingerprintImplDefault::StartEnroll(const std::string& user_id,
20 const std::string& label) {}
21
22 void FingerprintImplDefault::CancelCurrentEnroll() {}
23
24 void FingerprintImplDefault::GetLabel(int32_t index,
25 const GetLabelCallback& callback) {}
26
27 void FingerprintImplDefault::SetLabel(const std::string& label, int32_t index) {
28 }
29
30 void FingerprintImplDefault::RemoveEnrollment(int32_t index) {}
31
32 void FingerprintImplDefault::StartAuthentication() {}
33
34 void FingerprintImplDefault::EndCurrentAuthentication() {}
35
36 void FingerprintImplDefault::DestroyAllEnrollments() {}
37
38 void FingerprintImplDefault::AddBiodObserver(mojom::BiodObserverPtr observer) {}
39
40 // static
41 void Fingerprint::Create(device::mojom::FingerprintRequest request) {
42 mojo::MakeStrongBinding(base::MakeUnique<FingerprintImplDefault>(),
43 std::move(request));
44 }
45
46 } // namespace device
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698