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

Unified Diff: remoting/protocol/pairing_authenticator_base.cc

Issue 205583011: [Draft] Fix canceling pin prompt causes host overload (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing .gitIngore Created 6 years, 9 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/protocol/pairing_authenticator_base.cc
diff --git a/remoting/protocol/pairing_authenticator_base.cc b/remoting/protocol/pairing_authenticator_base.cc
index 47ca27527b03948fc6b9c7bd5471aa264b1c0153..dfd0e1b7b8ed9fdd67bc9285a2042e76eab4f650 100644
--- a/remoting/protocol/pairing_authenticator_base.cc
+++ b/remoting/protocol/pairing_authenticator_base.cc
@@ -38,6 +38,13 @@ Authenticator::State PairingAuthenticatorBase::state() const {
return v2_authenticator_->state();
}
+bool PairingAuthenticatorBase::has_auth_started() const {
+ if (!v2_authenticator_) {
+ return false;
+ }
+ return v2_authenticator_->has_auth_started();
+}
+
Authenticator::RejectionReason
PairingAuthenticatorBase::rejection_reason() const {
if (!v2_authenticator_) {

Powered by Google App Engine
This is Rietveld 408576698