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

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

Issue 638213002: remove more OVERRIDE instances in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/third_party_client_authenticator.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef REMOTING_PROTOCOL_THIRD_PARTY_HOST_AUTHENTICATOR_H_ 5 #ifndef REMOTING_PROTOCOL_THIRD_PARTY_HOST_AUTHENTICATOR_H_
6 #define REMOTING_PROTOCOL_THIRD_PARTY_HOST_AUTHENTICATOR_H_ 6 #define REMOTING_PROTOCOL_THIRD_PARTY_HOST_AUTHENTICATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 23 matching lines...) Expand all
34 // and is used to obtain the shared secret. 34 // and is used to obtain the shared secret.
35 ThirdPartyHostAuthenticator(const std::string& local_cert, 35 ThirdPartyHostAuthenticator(const std::string& local_cert,
36 scoped_refptr<RsaKeyPair> key_pair, 36 scoped_refptr<RsaKeyPair> key_pair,
37 scoped_ptr<TokenValidator> token_validator); 37 scoped_ptr<TokenValidator> token_validator);
38 virtual ~ThirdPartyHostAuthenticator(); 38 virtual ~ThirdPartyHostAuthenticator();
39 39
40 protected: 40 protected:
41 // ThirdPartyAuthenticator implementation. 41 // ThirdPartyAuthenticator implementation.
42 virtual void ProcessTokenMessage( 42 virtual void ProcessTokenMessage(
43 const buzz::XmlElement* message, 43 const buzz::XmlElement* message,
44 const base::Closure& resume_callback) OVERRIDE; 44 const base::Closure& resume_callback) override;
45 virtual void AddTokenElements(buzz::XmlElement* message) OVERRIDE; 45 virtual void AddTokenElements(buzz::XmlElement* message) override;
46 46
47 private: 47 private:
48 void OnThirdPartyTokenValidated(const buzz::XmlElement* message, 48 void OnThirdPartyTokenValidated(const buzz::XmlElement* message,
49 const base::Closure& resume_callback, 49 const base::Closure& resume_callback,
50 const std::string& shared_secret); 50 const std::string& shared_secret);
51 51
52 std::string local_cert_; 52 std::string local_cert_;
53 scoped_refptr<RsaKeyPair> key_pair_; 53 scoped_refptr<RsaKeyPair> key_pair_;
54 scoped_ptr<TokenValidator> token_validator_; 54 scoped_ptr<TokenValidator> token_validator_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(ThirdPartyHostAuthenticator); 56 DISALLOW_COPY_AND_ASSIGN(ThirdPartyHostAuthenticator);
57 }; 57 };
58 58
59 } // namespace protocol 59 } // namespace protocol
60 } // namespace remoting 60 } // namespace remoting
61 61
62 #endif // REMOTING_PROTOCOL_THIRD_PARTY_HOST_AUTHENTICATOR_H_ 62 #endif // REMOTING_PROTOCOL_THIRD_PARTY_HOST_AUTHENTICATOR_H_
OLDNEW
« no previous file with comments | « remoting/protocol/third_party_client_authenticator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698