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

Unified Diff: chrome/browser/ui/webui/settings/chromeos/fingerprint_handler.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: chrome/browser/ui/webui/settings/chromeos/fingerprint_handler.cc
diff --git a/chrome/browser/ui/webui/settings/chromeos/fingerprint_handler.cc b/chrome/browser/ui/webui/settings/chromeos/fingerprint_handler.cc
index 2194b420e46d9aae73bcc105287b124abc407029..0794f918b34c43a134823adf31d76289ef166368 100644
--- a/chrome/browser/ui/webui/settings/chromeos/fingerprint_handler.cc
+++ b/chrome/browser/ui/webui/settings/chromeos/fingerprint_handler.cc
@@ -116,11 +116,13 @@ void FingerprintHandler::OnJavascriptDisallowed() {}
void FingerprintHandler::OnRestarted() {}
void FingerprintHandler::OnEnrollScanDone(uint32_t scan_result,
- bool enroll_session_complete) {
+ bool enroll_session_complete,
+ int32_t percent_complete) {
AllowJavascript();
auto scan_attempt = base::MakeUnique<base::DictionaryValue>();
scan_attempt->SetInteger("result", scan_result);
scan_attempt->SetBoolean("isComplete", enroll_session_complete);
+ scan_attempt->SetInteger("percentComplete", percent_complete);
CallJavascriptFunction("cr.webUIListenerCallback",
base::Value("on-fingerprint-scan-received"),

Powered by Google App Engine
This is Rietveld 408576698