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

Side by Side Diff: remoting/protocol/negotiating_host_authenticator.cc

Issue 2443903004: Add xmllite and xmpp sources to third_party/ (Closed)
Patch Set: Explicitly use webrtc_overrides/webrtc/base/logging.h Created 3 years, 11 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 #include "remoting/protocol/negotiating_host_authenticator.h" 5 #include "remoting/protocol/negotiating_host_authenticator.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <sstream> 8 #include <sstream>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/strings/string_split.h" 14 #include "base/strings/string_split.h"
15 #include "remoting/base/rsa_key_pair.h" 15 #include "remoting/base/rsa_key_pair.h"
16 #include "remoting/protocol/channel_authenticator.h" 16 #include "remoting/protocol/channel_authenticator.h"
17 #include "remoting/protocol/pairing_host_authenticator.h" 17 #include "remoting/protocol/pairing_host_authenticator.h"
18 #include "remoting/protocol/pairing_registry.h" 18 #include "remoting/protocol/pairing_registry.h"
19 #include "remoting/protocol/spake2_authenticator.h" 19 #include "remoting/protocol/spake2_authenticator.h"
20 #include "remoting/protocol/token_validator.h" 20 #include "remoting/protocol/token_validator.h"
21 #include "remoting/protocol/v2_authenticator.h" 21 #include "remoting/protocol/v2_authenticator.h"
22 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 22 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
23 23
24 namespace remoting { 24 namespace remoting {
25 namespace protocol { 25 namespace protocol {
26 26
27 NegotiatingHostAuthenticator::NegotiatingHostAuthenticator( 27 NegotiatingHostAuthenticator::NegotiatingHostAuthenticator(
28 const std::string& local_id, 28 const std::string& local_id,
29 const std::string& remote_id, 29 const std::string& remote_id,
30 const std::string& local_cert, 30 const std::string& local_cert,
31 scoped_refptr<RsaKeyPair> key_pair) 31 scoped_refptr<RsaKeyPair> key_pair)
32 : NegotiatingAuthenticatorBase(WAITING_MESSAGE), 32 : NegotiatingAuthenticatorBase(WAITING_MESSAGE),
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 current_authenticator_ = V2Authenticator::CreateForHost( 236 current_authenticator_ = V2Authenticator::CreateForHost(
237 local_cert_, local_key_pair_, shared_secret_hash_, 237 local_cert_, local_key_pair_, shared_secret_hash_,
238 preferred_initial_state); 238 preferred_initial_state);
239 resume_callback.Run(); 239 resume_callback.Run();
240 break; 240 break;
241 } 241 }
242 } 242 }
243 243
244 } // namespace protocol 244 } // namespace protocol
245 } // namespace remoting 245 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/negotiating_client_authenticator.cc ('k') | remoting/protocol/pairing_authenticator_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698