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

Side by Side Diff: services/device/fingerprint/fingerprint_chromeos.h

Issue 2858003002: Roll src/third_party/cros_system_api/ c6eab9e4d..6139ae009 + API change (Closed)
Patch Set: rebase Created 3 years, 7 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_DEVICE_FINGERPRINT_FINGERPRINT_CHROMEOS_H_ 5 #ifndef SERVICES_DEVICE_FINGERPRINT_FINGERPRINT_CHROMEOS_H_
6 #define SERVICES_DEVICE_FINGERPRINT_FINGERPRINT_CHROMEOS_H_ 6 #define SERVICES_DEVICE_FINGERPRINT_FINGERPRINT_CHROMEOS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 void DestroyAllRecords(const DestroyAllRecordsCallback& callback) override; 51 void DestroyAllRecords(const DestroyAllRecordsCallback& callback) override;
52 void RequestType(const RequestTypeCallback& callback) override; 52 void RequestType(const RequestTypeCallback& callback) override;
53 void AddFingerprintObserver(mojom::FingerprintObserverPtr observer) override; 53 void AddFingerprintObserver(mojom::FingerprintObserverPtr observer) override;
54 54
55 private: 55 private:
56 friend class FingerprintChromeOSTest; 56 friend class FingerprintChromeOSTest;
57 57
58 // chromeos::BiodClient::Observer: 58 // chromeos::BiodClient::Observer:
59 void BiodServiceRestarted() override; 59 void BiodServiceRestarted() override;
60 void BiodEnrollScanDoneReceived(biod::ScanResult scan_result, 60 void BiodEnrollScanDoneReceived(biod::ScanResult scan_result,
61 bool enroll_session_complete) override; 61 bool enroll_session_complete,
62 int percent_complete) override;
62 void BiodAuthScanDoneReceived( 63 void BiodAuthScanDoneReceived(
63 biod::ScanResult scan_result, 64 biod::ScanResult scan_result,
64 const chromeos::AuthScanMatches& matches) override; 65 const chromeos::AuthScanMatches& matches) override;
65 void BiodSessionFailedReceived() override; 66 void BiodSessionFailedReceived() override;
66 67
67 void OnFingerprintObserverDisconnected(mojom::FingerprintObserver* observer); 68 void OnFingerprintObserverDisconnected(mojom::FingerprintObserver* observer);
68 void OnStartEnrollSession(const dbus::ObjectPath& enroll_path); 69 void OnStartEnrollSession(const dbus::ObjectPath& enroll_path);
69 void OnStartAuthSession(const dbus::ObjectPath& auth_path); 70 void OnStartAuthSession(const dbus::ObjectPath& auth_path);
70 void OnGetRecordsForUser(const GetRecordsForUserCallback& callback, 71 void OnGetRecordsForUser(const GetRecordsForUserCallback& callback,
71 const std::vector<dbus::ObjectPath>& record_paths); 72 const std::vector<dbus::ObjectPath>& record_paths);
(...skipping 17 matching lines...) Expand all
89 FingerprintSession opened_session_ = FingerprintSession::NONE; 90 FingerprintSession opened_session_ = FingerprintSession::NONE;
90 91
91 base::WeakPtrFactory<FingerprintChromeOS> weak_ptr_factory_; 92 base::WeakPtrFactory<FingerprintChromeOS> weak_ptr_factory_;
92 93
93 DISALLOW_COPY_AND_ASSIGN(FingerprintChromeOS); 94 DISALLOW_COPY_AND_ASSIGN(FingerprintChromeOS);
94 }; 95 };
95 96
96 } // namespace device 97 } // namespace device
97 98
98 #endif // SERVICES_DEVICE_FINGERPRINT_FINGERPRINT_CHROMEOS_H_ 99 #endif // SERVICES_DEVICE_FINGERPRINT_FINGERPRINT_CHROMEOS_H_
OLDNEW
« no previous file with comments | « services/device/fingerprint/BUILD.gn ('k') | services/device/fingerprint/fingerprint_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698