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

Unified Diff: remoting/host/it2me/it2me_host.cc

Issue 2650443002: Webapp share dialog is not closed when client end of the connection is closed (Closed)
Patch Set: Formatting cleanup Created 3 years, 11 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: remoting/host/it2me/it2me_host.cc
diff --git a/remoting/host/it2me/it2me_host.cc b/remoting/host/it2me/it2me_host.cc
index f95c7aae786491f42cc30b9c07d952675c41a0a5..49f7a141a2f86b6739a51e055b17d5e076e24b04 100644
--- a/remoting/host/it2me/it2me_host.cc
+++ b/remoting/host/it2me/it2me_host.cc
@@ -256,6 +256,8 @@ void It2MeHost::OnAccessDenied(const std::string& jid) {
++failed_login_attempts_;
if (failed_login_attempts_ == kMaxLoginAttempts) {
DisconnectOnNetworkThread();
+ } else if (confirmation_dialog_proxy_) {
Sergey Ulanov 2017/01/20 20:05:43 Can we just delete ConfirmationDialogProxy? ( i.e.
joedow 2017/03/14 16:46:36 Acknowledged.
+ confirmation_dialog_proxy_->Cancel();
Sergey Ulanov 2017/01/20 20:05:43 If I understand correctly this will call OnConfirm
joedow 2017/03/14 16:46:36 resetting the proxy will prevent the dialog result
}
}

Powered by Google App Engine
This is Rietveld 408576698