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

Unified Diff: remoting/protocol/v2_authenticator.h

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/v2_authenticator.h
diff --git a/remoting/protocol/v2_authenticator.h b/remoting/protocol/v2_authenticator.h
index 0675cb23f0e53db0237e552af1e972b895865495..4b655829b432524915e19dbcb81b348d264df82f 100644
--- a/remoting/protocol/v2_authenticator.h
+++ b/remoting/protocol/v2_authenticator.h
@@ -44,6 +44,7 @@ class V2Authenticator : public Authenticator {
virtual scoped_ptr<buzz::XmlElement> GetNextMessage() OVERRIDE;
virtual scoped_ptr<ChannelAuthenticator>
CreateChannelAuthenticator() const OVERRIDE;
+ virtual bool has_auth_started() const OVERRIDE;
Sergey Ulanov 2014/03/24 18:42:36 Please keep the same method order as in the interf
kelvinp 2014/03/24 23:11:39 Done.
private:
FRIEND_TEST_ALL_PREFIXES(V2AuthenticatorTest, InvalidSecret);
@@ -67,6 +68,7 @@ class V2Authenticator : public Authenticator {
// Used for both host and client authenticators.
crypto::P224EncryptedKeyExchange key_exchange_impl_;
State state_;
+ bool has_auth_started_;
RejectionReason rejection_reason_;
std::queue<std::string> pending_messages_;
std::string auth_key_;

Powered by Google App Engine
This is Rietveld 408576698