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

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

Issue 10388226: This broke M20 build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « remoting/jingle_glue/xmpp_signal_strategy.cc ('k') | remoting/protocol/fake_authenticator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AUTHENTICATOR_H_ 5 #ifndef REMOTING_PROTOCOL_AUTHENTICATOR_H_
6 #define REMOTING_PROTOCOL_AUTHENTICATOR_H_ 6 #define REMOTING_PROTOCOL_AUTHENTICATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 // Called when session-initiate stanza is received to create 104 // Called when session-initiate stanza is received to create
105 // authenticator for the new session. |first_message| specifies 105 // authenticator for the new session. |first_message| specifies
106 // authentication part of the session-initiate stanza so that 106 // authentication part of the session-initiate stanza so that
107 // appropriate type of Authenticator can be chosen for the session 107 // appropriate type of Authenticator can be chosen for the session
108 // (useful when multiple authenticators is supported). Returns NULL 108 // (useful when multiple authenticators is supported). Returns NULL
109 // if the |first_message| is invalid and the session should be 109 // if the |first_message| is invalid and the session should be
110 // rejected. ProcessMessage() should be called with |first_message| 110 // rejected. ProcessMessage() should be called with |first_message|
111 // for the result of this method. 111 // for the result of this method.
112 virtual scoped_ptr<Authenticator> CreateAuthenticator( 112 virtual scoped_ptr<Authenticator> CreateAuthenticator(
113 const std::string& local_jid,
114 const std::string& remote_jid, 113 const std::string& remote_jid,
115 const buzz::XmlElement* first_message) = 0; 114 const buzz::XmlElement* first_message) = 0;
116 }; 115 };
117 116
118 } // namespace protocol 117 } // namespace protocol
119 } // namespace remoting 118 } // namespace remoting
120 119
121 #endif // REMOTING_PROTOCOL_AUTHENTICATOR_H_ 120 #endif // REMOTING_PROTOCOL_AUTHENTICATOR_H_
OLDNEW
« no previous file with comments | « remoting/jingle_glue/xmpp_signal_strategy.cc ('k') | remoting/protocol/fake_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698