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

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: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/settings/chromeos/fingerprint_handler.h ('k') | chromeos/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e4bb4321b3037bbc0649d9c43bf25b8c0f86f36f 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,
+ int 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"),
« no previous file with comments | « chrome/browser/ui/webui/settings/chromeos/fingerprint_handler.h ('k') | chromeos/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698