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

Unified Diff: chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc

Issue 23530007: Move API flows for cloud print into common class CloudPrintBaseApiFlow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/local_discovery/local_discovery_ui_handler.cc
diff --git a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
index 1895c94dbbad88901dd15b4b7bd03f0839bd6d59..cc6e741424461da8fb14793d19f0a0910923385a 100644
--- a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
+++ b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
@@ -235,9 +235,8 @@ void LocalDiscoveryUIHandler::OnPrivetRegisterDone(
}
void LocalDiscoveryUIHandler::OnConfirmDone(
- PrivetConfirmApiCallFlow::Status status) {
- if (status == PrivetConfirmApiCallFlow::SUCCESS) {
- DLOG(INFO) << "Confirm success.";
+ CloudPrintBaseApiFlow::Status status) {
+ if (status == CloudPrintBaseApiFlow::SUCCESS) {
confirm_api_call_flow_.reset();
current_register_operation_->CompleteRegistration();
} else {

Powered by Google App Engine
This is Rietveld 408576698