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

Side by Side Diff: remoting/protocol/me2me_host_authenticator_factory.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 (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 #include "remoting/protocol/me2me_host_authenticator_factory.h" 5 #include "remoting/protocol/me2me_host_authenticator_factory.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "remoting/base/rsa_key_pair.h" 12 #include "remoting/base/rsa_key_pair.h"
13 #include "remoting/protocol/channel_authenticator.h" 13 #include "remoting/protocol/channel_authenticator.h"
14 #include "remoting/protocol/negotiating_host_authenticator.h" 14 #include "remoting/protocol/negotiating_host_authenticator.h"
15 #include "remoting/protocol/rejecting_authenticator.h" 15 #include "remoting/protocol/rejecting_authenticator.h"
16 #include "remoting/protocol/token_validator.h" 16 #include "remoting/protocol/token_validator.h"
17 #include "remoting/signaling/jid_util.h" 17 #include "remoting/signaling/jid_util.h"
18 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 18 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
19 19
20 namespace remoting { 20 namespace remoting {
21 namespace protocol { 21 namespace protocol {
22 22
23 // static 23 // static
24 std::unique_ptr<AuthenticatorFactory> 24 std::unique_ptr<AuthenticatorFactory>
25 Me2MeHostAuthenticatorFactory::CreateWithPin( 25 Me2MeHostAuthenticatorFactory::CreateWithPin(
26 bool use_service_account, 26 bool use_service_account,
27 const std::string& host_owner, 27 const std::string& host_owner,
28 const std::string& local_cert, 28 const std::string& local_cert,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 normalized_local_jid, normalized_remote_jid, local_cert_, key_pair_, 131 normalized_local_jid, normalized_remote_jid, local_cert_, key_pair_,
132 pin_hash_, pairing_registry_); 132 pin_hash_, pairing_registry_);
133 } 133 }
134 134
135 return base::WrapUnique( 135 return base::WrapUnique(
136 new RejectingAuthenticator(Authenticator::INVALID_CREDENTIALS)); 136 new RejectingAuthenticator(Authenticator::INVALID_CREDENTIALS));
137 } 137 }
138 138
139 } // namespace protocol 139 } // namespace protocol
140 } // namespace remoting 140 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/jingle_session_unittest.cc ('k') | remoting/protocol/negotiating_authenticator_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698