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

Unified Diff: remoting/protocol/third_party_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/third_party_authenticator_base.cc
diff --git a/remoting/protocol/third_party_authenticator_base.cc b/remoting/protocol/third_party_authenticator_base.cc
index 9d6be72db2eabdb2d0c032bba867e9ea8c556ebc..8e66c89a369fcd14cfe070bd50d1ee93c147d2fd 100644
--- a/remoting/protocol/third_party_authenticator_base.cc
+++ b/remoting/protocol/third_party_authenticator_base.cc
@@ -34,6 +34,12 @@ ThirdPartyAuthenticatorBase::ThirdPartyAuthenticatorBase(
ThirdPartyAuthenticatorBase::~ThirdPartyAuthenticatorBase() {
}
+bool ThirdPartyAuthenticatorBase::has_auth_started() const {
+ if (token_state_ == ACCEPTED)
+ return underlying_->has_auth_started();
+ return false;
Sergey Ulanov 2014/03/24 18:42:36 Third-party auth is started as soon as a message i
kelvinp 2014/03/24 23:11:39 Done.
+}
+
Authenticator::State ThirdPartyAuthenticatorBase::state() const {
if (token_state_ == ACCEPTED)
return underlying_->state();

Powered by Google App Engine
This is Rietveld 408576698