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

Side by Side Diff: remoting/protocol/v2_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 (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/v2_authenticator.h" 5 #include "remoting/protocol/v2_authenticator.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "remoting/base/constants.h" 12 #include "remoting/base/constants.h"
13 #include "remoting/base/rsa_key_pair.h" 13 #include "remoting/base/rsa_key_pair.h"
14 #include "remoting/protocol/ssl_hmac_channel_authenticator.h" 14 #include "remoting/protocol/ssl_hmac_channel_authenticator.h"
15 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 15 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
16 16
17 using crypto::P224EncryptedKeyExchange; 17 using crypto::P224EncryptedKeyExchange;
18 18
19 namespace remoting { 19 namespace remoting {
20 namespace protocol { 20 namespace protocol {
21 21
22 namespace { 22 namespace {
23 23
24 const buzz::StaticQName kEkeTag = { kChromotingXmlNamespace, 24 const buzz::StaticQName kEkeTag = { kChromotingXmlNamespace,
25 "eke-message" }; 25 "eke-message" };
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 remote_cert_, auth_key_); 201 remote_cert_, auth_key_);
202 } 202 }
203 } 203 }
204 204
205 bool V2Authenticator::is_host_side() const { 205 bool V2Authenticator::is_host_side() const {
206 return local_key_pair_.get() != nullptr; 206 return local_key_pair_.get() != nullptr;
207 } 207 }
208 208
209 } // namespace protocol 209 } // namespace protocol
210 } // namespace remoting 210 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/third_party_host_authenticator.cc ('k') | remoting/protocol/v2_authenticator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698