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

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

Issue 2858003002: Roll src/third_party/cros_system_api/ c6eab9e4d..6139ae009 + API change (Closed)
Patch Set: Created 3 years, 8 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
Index: services/device/fingerprint/fingerprint_chromeos_unittest.cc
diff --git a/services/device/fingerprint/fingerprint_chromeos_unittest.cc b/services/device/fingerprint/fingerprint_chromeos_unittest.cc
index e21bb18791e8c7738f69e6b31f6e90a9b6dad5ab..5c827454c3877dbe40d99f78318e4f61357493ac 100644
--- a/services/device/fingerprint/fingerprint_chromeos_unittest.cc
+++ b/services/device/fingerprint/fingerprint_chromeos_unittest.cc
@@ -23,7 +23,9 @@ class FakeFingerprintObserver : public mojom::FingerprintObserver {
// mojom::FingerprintObserver
void OnRestarted() override { restarts_++; }
- void OnEnrollScanDone(uint32_t scan_result, bool is_complete) override {
+ void OnEnrollScanDone(uint32_t scan_result,
+ bool is_complete,
+ int32_t percent_complete) override {
enroll_scan_dones_++;
}
@@ -70,8 +72,9 @@ class FingerprintChromeOSTest : public testing::Test {
void GenerateEnrollScanDoneSignal() {
std::string fake_fingerprint_data;
- fake_biod_client_->SendEnrollScanDone(fake_fingerprint_data,
- biod::SCAN_RESULT_SUCCESS, true);
+ fake_biod_client_->SendEnrollScanDone(
+ fake_fingerprint_data, biod::SCAN_RESULT_SUCCESS, true,
+ -1 /* percent_complete not supported*/);
Daniel Erat 2017/05/03 20:47:34 drop the "not supported" here; we usually just put
xiaoyinh(OOO Sep 11-29) 2017/05/04 00:29:51 Done.
}
void GenerateAuthScanDoneSignal() {

Powered by Google App Engine
This is Rietveld 408576698