Commit 8c9c591d authored by David Valleau's avatar David Valleau Committed by Commit Bot

Changing response value in web ui callback to use PrinterSetupResult

Change-Id: I92425dc2d51b4b2397651e31fe55aaa604265ab9
Reviewed-on: https://chromium-review.googlesource.com/1110842Reviewed-by: default avatarXiaoqian Dai <xdai@chromium.org>
Reviewed-by: default avatarMichael Giuffrida <michaelpg@chromium.org>
Commit-Queue: David Valleau <valleau@chromium.org>
Cr-Commit-Position: refs/heads/master@{#569661}
parent b1cc586e
...@@ -334,7 +334,8 @@ void CupsPrintersHandler::HandleUpdateCupsPrinter(const base::ListValue* args) { ...@@ -334,7 +334,8 @@ void CupsPrintersHandler::HandleUpdateCupsPrinter(const base::ListValue* args) {
// TODO(xdai): Replace "on-add-cups-printer" callback with Promise resolve // TODO(xdai): Replace "on-add-cups-printer" callback with Promise resolve
// function. // function.
FireWebUIListener("on-add-cups-printer", base::Value(true), FireWebUIListener("on-add-cups-printer",
base::Value(PrinterSetupResult::kSuccess),
base::Value(printer_name)); base::Value(printer_name));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment