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

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

Issue 810133003: replace NULL->nullptr in src/remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « remoting/protocol/input_filter.cc ('k') | remoting/protocol/jingle_messages.cc » ('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 #include "remoting/protocol/it2me_host_authenticator_factory.h" 5 #include "remoting/protocol/it2me_host_authenticator_factory.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "remoting/base/rsa_key_pair.h" 8 #include "remoting/base/rsa_key_pair.h"
9 #include "remoting/protocol/negotiating_host_authenticator.h" 9 #include "remoting/protocol/negotiating_host_authenticator.h"
10 10
(...skipping 10 matching lines...) Expand all
21 } 21 }
22 22
23 It2MeHostAuthenticatorFactory::~It2MeHostAuthenticatorFactory() { 23 It2MeHostAuthenticatorFactory::~It2MeHostAuthenticatorFactory() {
24 } 24 }
25 25
26 scoped_ptr<Authenticator> It2MeHostAuthenticatorFactory::CreateAuthenticator( 26 scoped_ptr<Authenticator> It2MeHostAuthenticatorFactory::CreateAuthenticator(
27 const std::string& local_jid, 27 const std::string& local_jid,
28 const std::string& remote_jid, 28 const std::string& remote_jid,
29 const buzz::XmlElement* first_message) { 29 const buzz::XmlElement* first_message) {
30 return NegotiatingHostAuthenticator::CreateWithSharedSecret( 30 return NegotiatingHostAuthenticator::CreateWithSharedSecret(
31 local_cert_, key_pair_, shared_secret_, AuthenticationMethod::NONE, NULL); 31 local_cert_, key_pair_, shared_secret_, AuthenticationMethod::NONE,
32 nullptr);
32 } 33 }
33 34
34 } // namespace protocol 35 } // namespace protocol
35 } // namespace remoting 36 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/input_filter.cc ('k') | remoting/protocol/jingle_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698