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

Side by Side Diff: remoting/protocol/third_party_authenticator_base.h

Issue 1277093006: Enable QUIC support in chromoting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@quic_adapters
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_PROTOCOL_THIRD_PARTY_AUTHENTICATOR_BASE_H_ 5 #ifndef REMOTING_PROTOCOL_THIRD_PARTY_AUTHENTICATOR_BASE_H_
6 #define REMOTING_PROTOCOL_THIRD_PARTY_AUTHENTICATOR_BASE_H_ 6 #define REMOTING_PROTOCOL_THIRD_PARTY_AUTHENTICATOR_BASE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 23 matching lines...) Expand all
34 public: 34 public:
35 ~ThirdPartyAuthenticatorBase() override; 35 ~ThirdPartyAuthenticatorBase() override;
36 36
37 // Authenticator interface. 37 // Authenticator interface.
38 State state() const override; 38 State state() const override;
39 bool started() const override; 39 bool started() const override;
40 RejectionReason rejection_reason() const override; 40 RejectionReason rejection_reason() const override;
41 void ProcessMessage(const buzz::XmlElement* message, 41 void ProcessMessage(const buzz::XmlElement* message,
42 const base::Closure& resume_callback) override; 42 const base::Closure& resume_callback) override;
43 scoped_ptr<buzz::XmlElement> GetNextMessage() override; 43 scoped_ptr<buzz::XmlElement> GetNextMessage() override;
44 const std::string& GetAuthKey() const override;
44 scoped_ptr<ChannelAuthenticator> CreateChannelAuthenticator() const override; 45 scoped_ptr<ChannelAuthenticator> CreateChannelAuthenticator() const override;
45 46
46 protected: 47 protected:
47 // XML tag names for third party authentication fields. 48 // XML tag names for third party authentication fields.
48 static const buzz::StaticQName kTokenUrlTag; 49 static const buzz::StaticQName kTokenUrlTag;
49 static const buzz::StaticQName kTokenScopeTag; 50 static const buzz::StaticQName kTokenScopeTag;
50 static const buzz::StaticQName kTokenTag; 51 static const buzz::StaticQName kTokenTag;
51 52
52 explicit ThirdPartyAuthenticatorBase(State initial_state); 53 explicit ThirdPartyAuthenticatorBase(State initial_state);
53 54
(...skipping 16 matching lines...) Expand all
70 RejectionReason rejection_reason_; 71 RejectionReason rejection_reason_;
71 72
72 private: 73 private:
73 DISALLOW_COPY_AND_ASSIGN(ThirdPartyAuthenticatorBase); 74 DISALLOW_COPY_AND_ASSIGN(ThirdPartyAuthenticatorBase);
74 }; 75 };
75 76
76 } // namespace protocol 77 } // namespace protocol
77 } // namespace remoting 78 } // namespace remoting
78 79
79 #endif // REMOTING_PROTOCOL_THIRD_PARTY_AUTHENTICATOR_BASE_H_ 80 #endif // REMOTING_PROTOCOL_THIRD_PARTY_AUTHENTICATOR_BASE_H_
OLDNEW
« no previous file with comments | « remoting/protocol/session_config.cc ('k') | remoting/protocol/third_party_authenticator_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698