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

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

Issue 1778023002: Move NegotiatingClientAuthentication creation to ChromotingClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
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_NEGOTIATING_AUTHENTICATOR_BASE_H_ 5 #ifndef REMOTING_PROTOCOL_NEGOTIATING_AUTHENTICATOR_BASE_H_
6 #define REMOTING_PROTOCOL_NEGOTIATING_AUTHENTICATOR_BASE_H_ 6 #define REMOTING_PROTOCOL_NEGOTIATING_AUTHENTICATOR_BASE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "remoting/protocol/authenticator.h" 15 #include "remoting/protocol/authenticator.h"
16 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 16
17 namespace buzz {
18 struct StaticQName;
19 } // namespace buzz
17 20
18 namespace remoting { 21 namespace remoting {
19 namespace protocol { 22 namespace protocol {
20 23
21 // This class provides the common base for a meta-authenticator that allows 24 // This class provides the common base for a meta-authenticator that allows
22 // clients and hosts that support multiple authentication methods to negotiate a 25 // clients and hosts that support multiple authentication methods to negotiate a
23 // method to use. 26 // method to use.
24 // 27 //
25 // The typical flow is: 28 // The typical flow is:
26 // * Client sends a message to host with its supported methods. 29 // * Client sends a message to host with its supported methods.
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 RejectionReason rejection_reason_ = INVALID_CREDENTIALS; 120 RejectionReason rejection_reason_ = INVALID_CREDENTIALS;
118 121
119 private: 122 private:
120 DISALLOW_COPY_AND_ASSIGN(NegotiatingAuthenticatorBase); 123 DISALLOW_COPY_AND_ASSIGN(NegotiatingAuthenticatorBase);
121 }; 124 };
122 125
123 } // namespace protocol 126 } // namespace protocol
124 } // namespace remoting 127 } // namespace remoting
125 128
126 #endif // REMOTING_PROTOCOL_NEGOTIATING_AUTHENTICATOR_BASE_H_ 129 #endif // REMOTING_PROTOCOL_NEGOTIATING_AUTHENTICATOR_BASE_H_
OLDNEW
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/protocol/negotiating_authenticator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698